mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/14454] Remove extra commas
PHPBB-14454
This commit is contained in:
parent
f646fcdefa
commit
13e6cd5992
1 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ class phpbb_functional_switch_permissions_test extends phpbb_functional_test_cas
|
|||
// Check that we switched permissions to test user
|
||||
$this->assertStringContainsString(
|
||||
str_replace('<br />', '<br>', $this->lang('PERMISSIONS_TRANSFERRED', self::TEST_USER)),
|
||||
$crawler->html(),
|
||||
$crawler->html()
|
||||
);
|
||||
|
||||
// Check that ACP pages get forced to acp main with restore permission info
|
||||
|
@ -50,21 +50,21 @@ class phpbb_functional_switch_permissions_test extends phpbb_functional_test_cas
|
|||
$crawler = self::request('GET', "adm/index.php?i=users&mode=overview&u={$user_id}&sid={$this->sid}");
|
||||
$this->assertStringContainsString(
|
||||
$this->lang('PERMISSIONS_TRANSFERRED'),
|
||||
$crawler->text(),
|
||||
$crawler->text()
|
||||
);
|
||||
|
||||
// Check that restore permissions link exists
|
||||
$crawler = self::$client->request('GET', '../index.php?sid=' . $this->sid);
|
||||
$this->assertStringContainsString(
|
||||
$this->lang('RESTORE_PERMISSIONS'),
|
||||
$crawler->text(),
|
||||
$crawler->text()
|
||||
);
|
||||
|
||||
// Check that restore permissions works
|
||||
$crawler = self::$client->request('GET', 'ucp.php?mode=restore_perm&sid=' . $this->sid);
|
||||
$this->assertStringContainsString(
|
||||
$this->lang('PERMISSIONS_RESTORED'),
|
||||
$crawler->text(),
|
||||
$crawler->text()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue