mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11458] Update functional test
Show that the phpbb permission lanuage file is being included PHPBB3-11458
This commit is contained in:
parent
a50d23078e
commit
48e1be58db
1 changed files with 5 additions and 0 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue