[extend/vote_test] Change links to portal to use correct format app.php/portal
This commit is contained in:
@@ -22,6 +22,6 @@ class phpbb_functional_portal_no_error_test extends \board3\portal\tests\testfra
|
|||||||
|
|
||||||
public function test_vanilla_board()
|
public function test_vanilla_board()
|
||||||
{
|
{
|
||||||
$crawler = self::request('GET', 'app.php?portal');
|
$crawler = self::request('GET', 'app.php/portal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,13 +30,13 @@ class phpbb_functional_portal_vote_poll_test extends \board3\portal\tests\testfr
|
|||||||
|
|
||||||
if (isset($data))
|
if (isset($data))
|
||||||
{
|
{
|
||||||
$crawler = self::request('GET', 'app.php?portal');
|
$crawler = self::request('GET', 'app.php/portal');
|
||||||
$form = $crawler->selectButton('Submit vote')->form();
|
$form = $crawler->selectButton('Submit vote')->form();
|
||||||
$form->setValues(array('vote_id' => array(1)));
|
$form->setValues(array('vote_id' => array(1)));
|
||||||
$crawler = self::submit($form);
|
$crawler = self::submit($form);
|
||||||
|
|
||||||
// no errors should appear on portal
|
// no errors should appear on portal
|
||||||
$crawler = self::request('GET', 'app.php?portal');
|
$crawler = self::request('GET', 'app.php/portal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user