UserRepositoryTest fixed.
This commit is contained in:
parent
4a88a35b9d
commit
e3660031ab
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue