mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/11458] Update functional test
Show that the phpbb permission lanuage file is being included PHPBB3-11458
This commit is contained in:
@@ -108,6 +108,11 @@ class phpbb_functional_extension_permission_lang_test extends phpbb_functional_t
|
|||||||
$form->setValues($data);
|
$form->setValues($data);
|
||||||
$crawler = $this->client->submit($form);
|
$crawler = $this->client->submit($form);
|
||||||
$this->assert_response_success();
|
$this->assert_response_success();
|
||||||
|
|
||||||
|
// language from language/en/acp/permissions_phpbb.php
|
||||||
|
$this->assertContains('Can attach files', $crawler->filter('body')->text());
|
||||||
|
|
||||||
|
// language from ext/foo/bar/language/en/permissions_foo.php
|
||||||
$this->assertContains('Can view foo', $crawler->filter('body')->text());
|
$this->assertContains('Can view foo', $crawler->filter('body')->text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user