From d54c1d65403c7694eea5c7c84b5ea0e3541d410d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 17 Jul 2020 13:57:52 +0400 Subject: Updated test genre repository Signed-off-by: Valentin Popov --- tests/Repositories/GenreRepositoryTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/Repositories/GenreRepositoryTest.php b/tests/Repositories/GenreRepositoryTest.php index 94c8a79..1598bbd 100644 --- a/tests/Repositories/GenreRepositoryTest.php +++ b/tests/Repositories/GenreRepositoryTest.php @@ -35,13 +35,13 @@ final class GenreRepositoryTest extends TestCase { public function testGetAction(): void { $env = GetServiceEnvironment::get(); - foreach (GenreRepository::create($env)->get() as $category) { - /** @var \EPGService\Entities\GenreEntity $category */ + foreach (GenreRepository::create($env)->get() as $genre) { + /** @var \EPGService\Entities\GenreEntity $genre */ - self::assertIsInt($category->id); - self::assertIsString($category->lang); - self::assertIsString($category->name); - self::assertIsString($category->version); + self::assertIsInt($genre->id); + self::assertIsString($genre->lang); + self::assertIsString($genre->name); + self::assertIsString($genre->version); } } } -- cgit v1.2.3