aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-07-17 12:57:52 +0300
committerValentin Popov <info@valentineus.link>2020-07-17 12:57:52 +0300
commitd54c1d65403c7694eea5c7c84b5ea0e3541d410d (patch)
tree917c8c8787c05e7c7555e966d6bd4034c903d3b4 /tests
parent82584345f6340d83008bed2eb35b3600da925135 (diff)
downloadphp-epg-service-d54c1d65403c7694eea5c7c84b5ea0e3541d410d.tar.xz
php-epg-service-d54c1d65403c7694eea5c7c84b5ea0e3541d410d.zip
Updated test genre repository
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests')
-rw-r--r--tests/Repositories/GenreRepositoryTest.php12
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);
}
}
}