mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
[ticket/12009] Update functional test to check for invalid extensions.
PHPBB3-12009
This commit is contained in:
parent
495ded59f3
commit
2735982c55
1 changed files with 6 additions and 0 deletions
|
@ -97,6 +97,12 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
|
||||||
$this->assertContains('phpBB Bar Extension', $crawler->filter('.ext_disabled')->eq(3)->text());
|
$this->assertContains('phpBB Bar Extension', $crawler->filter('.ext_disabled')->eq(3)->text());
|
||||||
$this->assertContainsLang('DETAILS', $crawler->filter('.ext_disabled')->eq(3)->text());
|
$this->assertContainsLang('DETAILS', $crawler->filter('.ext_disabled')->eq(3)->text());
|
||||||
$this->assertContainsLang('EXTENSION_ENABLE', $crawler->filter('.ext_disabled')->eq(3)->text());
|
$this->assertContainsLang('EXTENSION_ENABLE', $crawler->filter('.ext_disabled')->eq(3)->text());
|
||||||
|
|
||||||
|
// Check that invalid extensions are not listed.
|
||||||
|
$this->assertNotContains('phpBB BarFoo Extension', $crawler->filter('.table1')->text());
|
||||||
|
$this->assertNotContains('barfoo', $crawler->filter('.table1')->text());
|
||||||
|
|
||||||
|
$this->assertNotContains('vendor3/bar', $crawler->filter('.table1')->text());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_details()
|
public function test_details()
|
||||||
|
|
Loading…
Add table
Reference in a new issue