aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-20 21:20:04 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-20 21:20:04 +0530
commitaeeaf2f6efc79ca407cf8872b1538902b93c2236 (patch)
tree1ef27a4b22277feb51d3ae1d220ad9b3d121a52b /tests/functional
parent27d761d08e63bd829453183924dfc04c8027901e (diff)
downloadforums-aeeaf2f6efc79ca407cf8872b1538902b93c2236.tar
forums-aeeaf2f6efc79ca407cf8872b1538902b93c2236.tar.gz
forums-aeeaf2f6efc79ca407cf8872b1538902b93c2236.tar.bz2
forums-aeeaf2f6efc79ca407cf8872b1538902b93c2236.tar.xz
forums-aeeaf2f6efc79ca407cf8872b1538902b93c2236.zip
[ticket/12729] Add functional test for Facebook field
PHPBB3-12729
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..2cc279eccc 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_facebook' => 'phpbb',
));
$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', $form->get('pf_phpbb_facebook')->getValue());
}
}