diff options
| author | Shitiz Garg <mail@dragooon.net> | 2014-06-20 21:13:29 +0530 |
|---|---|---|
| committer | Shitiz Garg <mail@dragooon.net> | 2014-06-20 21:13:29 +0530 |
| commit | 10b466848aa31d430694a5ded689bb9007817c34 (patch) | |
| tree | 71233513bc9710f6c09f844019fbe3ecf3212aec /tests | |
| parent | 01e05ccc6bf215369d32eb4d8820d6a56942cf3d (diff) | |
| download | forums-10b466848aa31d430694a5ded689bb9007817c34.tar forums-10b466848aa31d430694a5ded689bb9007817c34.tar.gz forums-10b466848aa31d430694a5ded689bb9007817c34.tar.bz2 forums-10b466848aa31d430694a5ded689bb9007817c34.tar.xz forums-10b466848aa31d430694a5ded689bb9007817c34.zip | |
[ticket/12732] Add functional test for Skype profile field
PHPBB3-12732
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/functional/ucp_profile_test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/ucp_profile_test.php b/tests/functional/ucp_profile_test.php index ea08eece78..fb8e1808f6 100644 --- a/tests/functional/ucp_profile_test.php +++ b/tests/functional/ucp_profile_test.php @@ -26,6 +26,7 @@ class phpbb_functional_ucp_profile_test extends phpbb_functional_test_case $form = $crawler->selectButton('Submit')->form(array( 'pf_phpbb_location' => 'Bertie“s Empire', + 'pf_phpbb_skype' => 'phpbb.skype.account', )); $crawler = self::submit($form); $this->assertContainsLang('PROFILE_UPDATED', $crawler->filter('#message')->text()); @@ -33,5 +34,6 @@ class phpbb_functional_ucp_profile_test extends phpbb_functional_test_case $crawler = self::request('GET', 'ucp.php?i=ucp_profile&mode=profile_info'); $form = $crawler->selectButton('Submit')->form(); $this->assertEquals('Bertie“s Empire', $form->get('pf_phpbb_location')->getValue()); + $this->assertEquals('phpbb.skype.account', $form->get('pf_phpbb_skype')->getValue()); } } |
