diff options
author | Valentin Popov <info@valentineus.link> | 2020-07-17 12:57:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-07-17 12:57:52 +0300 |
commit | d54c1d65403c7694eea5c7c84b5ea0e3541d410d (patch) | |
tree | 917c8c8787c05e7c7555e966d6bd4034c903d3b4 | |
parent | 82584345f6340d83008bed2eb35b3600da925135 (diff) | |
download | php-epg-service-d54c1d65403c7694eea5c7c84b5ea0e3541d410d.tar.xz php-epg-service-d54c1d65403c7694eea5c7c84b5ea0e3541d410d.zip |
Updated test genre repository
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | tests/Repositories/GenreRepositoryTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
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); } } } |