aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-20 21:12:02 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-20 21:12:02 +0530
commitcdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829 (patch)
tree729811c87a106c80e8a0026875ed766d997ee60a /tests/functional
parentabc55dcb40ca761424ebcc394f93bddae55c2a40 (diff)
downloadforums-cdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829.tar
forums-cdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829.tar.gz
forums-cdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829.tar.bz2
forums-cdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829.tar.xz
forums-cdfcbfc6d0c7c1ea7f1b5c802eaa85887934f829.zip
[ticket/12733] Add functional test for twitter profile field
PHPBB3-12733
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/ucp_profile_test.php2
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..5e8e761687 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_twitter' => 'phpbb_twitter',
));
$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_twitter', $form->get('pf_phpbb_twitter')->getValue());
}
}