1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/13713] Resolve issues with PHPUnit calls in PHP >= 8.0

PHPBB3-13713
This commit is contained in:
Marc Alexander
2021-01-28 22:27:26 +01:00
parent a271d0cacb
commit 640444c8d7
2 changed files with 10 additions and 11 deletions

View File

@@ -96,7 +96,7 @@ class mention_helper_test extends phpbb_database_test_case
public function test_inject_metadata($incoming_xml, $expected_profile_substring)
{
$result = $this->mention_helper->inject_metadata($incoming_xml);
$this->assertContains($expected_profile_substring, $result);
$this->assertStringContainsString($expected_profile_substring, $result);
}
public function get_mentioned_user_ids_data()