1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 20:04:24 +02:00

PHP 8 support, cookie unit tests (#2507)

This commit is contained in:
Daniël Klabbers
2021-01-26 23:53:28 +01:00
committed by GitHub
parent 08f72e7135
commit 65b5c2043c
7 changed files with 89 additions and 18 deletions

View File

@@ -174,7 +174,7 @@ class ModelTest extends TestCase
$user = User::find(1);
$this->assertNotEquals([], $user->customRelation()->get()->toArray());
$this->assertContains(json_encode(__CLASS__), json_encode($user->customRelation()->get()));
$this->assertStringContainsString(json_encode(__CLASS__), json_encode($user->customRelation()->get()));
}
/**