[ticket/14454] Remove extra commas

PHPBB-14454
This commit is contained in:
Marc Alexander 2024-07-14 08:17:03 +02:00
parent f646fcdefa
commit 13e6cd5992
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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()
);
}
}