mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/develop/11568] Remove unneccessary second call with wrong arguments
PHPBB3-11568
This commit is contained in:
@@ -114,7 +114,6 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
|
|||||||
{
|
{
|
||||||
$this->phpbb_extension_manager->enable('foo/bar');
|
$this->phpbb_extension_manager->enable('foo/bar');
|
||||||
$crawler = $this->request('GET', 'app.php?controller=foo/baz', array(), true);
|
$crawler = $this->request('GET', 'app.php?controller=foo/baz', array(), true);
|
||||||
$this->request('GET', 'app.php?controller=foo/baz', false);
|
|
||||||
$this->assert_response_success(500);
|
$this->assert_response_success(500);
|
||||||
$this->assertContains('Missing value for argument #1: test in class phpbb_ext_foo_bar_controller:baz', $crawler->filter('body')->text());
|
$this->assertContains('Missing value for argument #1: test in class phpbb_ext_foo_bar_controller:baz', $crawler->filter('body')->text());
|
||||||
$this->phpbb_extension_manager->purge('foo/bar');
|
$this->phpbb_extension_manager->purge('foo/bar');
|
||||||
|
Reference in New Issue
Block a user