diff --git a/tests/functional/switch_permissions_test.php b/tests/functional/switch_permissions_test.php index d83d303f5d..a8c64422f3 100644 --- a/tests/functional/switch_permissions_test.php +++ b/tests/functional/switch_permissions_test.php @@ -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('
', '
', $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() ); } }