UserRepositoryTest fixed.

This commit is contained in:
Alexey Skobkin 2017-01-09 23:09:14 +03:00
parent 4a88a35b9d
commit e3660031ab

View file

@ -83,7 +83,7 @@ class UserRepositoryTest extends KernelTestCase
$this->assertCount(5, $topUsers, 'Found not exactly 5 top users'); $this->assertCount(5, $topUsers, 'Found not exactly 5 top users');
foreach ($topUsers as $topUser) { foreach ($topUsers as $topUser) {
$this->assertInternalType(TopUserDTO::class, $topUser, 'Invalid type returned'); $this->assertEquals(TopUserDTO::class, get_class($topUser), 'Invalid type returned');
} }
} }
} }