diff --git a/tests/Skobkin/PointToolsBundle/Repository/UserRepositoryTest.php b/tests/Skobkin/PointToolsBundle/Repository/UserRepositoryTest.php index 61ba242..b7041c5 100644 --- a/tests/Skobkin/PointToolsBundle/Repository/UserRepositoryTest.php +++ b/tests/Skobkin/PointToolsBundle/Repository/UserRepositoryTest.php @@ -83,7 +83,7 @@ class UserRepositoryTest extends KernelTestCase $this->assertCount(5, $topUsers, 'Found not exactly 5 top users'); foreach ($topUsers as $topUser) { - $this->assertInternalType(TopUserDTO::class, $topUser, 'Invalid type returned'); + $this->assertEquals(TopUserDTO::class, get_class($topUser), 'Invalid type returned'); } } } \ No newline at end of file