mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11700] Check for ALLOW_REMOTE_UPLOAD in acp output as expected
PHPBB3-11700
This commit is contained in:
parent
390dc86344
commit
8b8ba3d7ac
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ abstract class phpbb_functional_common_avatar_test extends phpbb_functional_test
|
||||||
$crawler = self::request('GET', 'adm/index.php?i=acp_board&mode=avatar&sid=' . $this->sid);
|
$crawler = self::request('GET', 'adm/index.php?i=acp_board&mode=avatar&sid=' . $this->sid);
|
||||||
// Check the default entries we should have
|
// Check the default entries we should have
|
||||||
$this->assertContainsLang('ALLOW_GRAVATAR', $crawler->text());
|
$this->assertContainsLang('ALLOW_GRAVATAR', $crawler->text());
|
||||||
$this->assertContainsLang('ALLOW_REMOTE', $crawler->text());
|
$this->assertContainsLang('ALLOW_REMOTE_UPLOAD', $crawler->text());
|
||||||
$this->assertContainsLang('ALLOW_AVATARS', $crawler->text());
|
$this->assertContainsLang('ALLOW_AVATARS', $crawler->text());
|
||||||
$this->assertContainsLang('ALLOW_LOCAL', $crawler->text());
|
$this->assertContainsLang('ALLOW_LOCAL', $crawler->text());
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ abstract class phpbb_functional_common_groups_test extends phpbb_functional_test
|
||||||
|
|
||||||
$crawler = self::request('GET', 'adm/index.php?i=board&mode=avatar&sid=' . $this->sid);
|
$crawler = self::request('GET', 'adm/index.php?i=board&mode=avatar&sid=' . $this->sid);
|
||||||
// Check the default entries we should have
|
// Check the default entries we should have
|
||||||
$this->assertContains($this->lang('ALLOW_REMOTE'), $crawler->text());
|
$this->assertContains($this->lang('ALLOW_REMOTE_UPLOAD'), $crawler->text());
|
||||||
$this->assertContains($this->lang('ALLOW_AVATARS'), $crawler->text());
|
$this->assertContains($this->lang('ALLOW_AVATARS'), $crawler->text());
|
||||||
$this->assertContains($this->lang('ALLOW_LOCAL'), $crawler->text());
|
$this->assertContains($this->lang('ALLOW_LOCAL'), $crawler->text());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue