aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-07-17 12:42:45 +0300
committerValentin Popov <info@valentineus.link>2020-07-17 12:43:11 +0300
commit46f834c9bf7ff890700cef3b05fd2d7ebefb21a0 (patch)
tree62d031c7cf58c6f49b0360b74b2b9c32cea6f51c /tests
parent964ba206127de4eb904f271fd80db7941653adaa (diff)
downloadphp-epg-service-46f834c9bf7ff890700cef3b05fd2d7ebefb21a0.tar.xz
php-epg-service-46f834c9bf7ff890700cef3b05fd2d7ebefb21a0.zip
Updated channel entity
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests')
-rw-r--r--tests/Entities/ChannelEntityTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Entities/ChannelEntityTest.php b/tests/Entities/ChannelEntityTest.php
index e4f2456..e3c2733 100644
--- a/tests/Entities/ChannelEntityTest.php
+++ b/tests/Entities/ChannelEntityTest.php
@@ -33,6 +33,7 @@ final class ChannelEntityTest extends TestCase {
$faker = Factory::create();
$base_id = $faker->unique()->sha256;
+ $base_name = $faker->unique()->sha256;
$epg_id = $faker->unique()->sha256;
$geo_data = $faker->unique()->sha256;
$href = $faker->unique()->sha256;
@@ -45,6 +46,7 @@ final class ChannelEntityTest extends TestCase {
$entity = ChannelEntity::create(compact(
'base_id',
+ 'base_name',
'epg_id',
'geo_data',
'href',
@@ -57,6 +59,7 @@ final class ChannelEntityTest extends TestCase {
));
self::assertEquals($base_id, $entity->base_id);
+ self::assertEquals($base_name, $entity->base_name);
self::assertEquals($epg_id, $entity->epg_id);
self::assertEquals($geo_data, $entity->geo_data);
self::assertEquals($href, $entity->href);