diff options
author | Shitiz Garg <mail@dragooon.net> | 2014-06-20 21:17:23 +0530 |
---|---|---|
committer | Shitiz Garg <mail@dragooon.net> | 2014-06-20 21:17:23 +0530 |
commit | 51b4dc7077e40518307f726956ec49b73ca1a808 (patch) | |
tree | 77ecfd6ba59e0bc59e179d5b148f2a7206ba52ef /tests/functional | |
parent | acbc0ea1f721ba0c3acf92c744779db6afb6a1f0 (diff) | |
download | forums-51b4dc7077e40518307f726956ec49b73ca1a808.tar forums-51b4dc7077e40518307f726956ec49b73ca1a808.tar.gz forums-51b4dc7077e40518307f726956ec49b73ca1a808.tar.bz2 forums-51b4dc7077e40518307f726956ec49b73ca1a808.tar.xz forums-51b4dc7077e40518307f726956ec49b73ca1a808.zip |
[ticket/12731] Add functional test for youtube field
PHPBB3-12731
Diffstat (limited to 'tests/functional')
-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..14cee8465a 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_youtube' => 'phpbb.youtube', )); $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.youtube', $form->get('pf_phpbb_youtube')->getValue()); } } |