[extend/vote_test] Extend vote test to vote on poll

This commit is contained in:
Marc Alexander
2013-11-19 16:51:28 +01:00
parent 92cac64108
commit 669688006f

View File

@@ -31,6 +31,12 @@ class phpbb_functional_portal_vote_poll_test extends \board3\portal\tests\testfr
if (isset($data))
{
$crawler = self::request('GET', 'app.php?portal');
$form = $crawler->selectButton('Submit vote')->form();
$form->setValues(array('vote_id' => array(1)));
$crawler = self::submit($form);
// no errors should appear on portal
$crawler = self::request('GET', 'app.php?portal');
}
}
}