aboutsummaryrefslogtreecommitdiff
path: root/tests/Entities
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-07-19 19:14:20 +0300
committerValentin Popov <info@valentineus.link>2020-07-19 19:14:20 +0300
commit7d078315d6f592de968fbaf9959a2dbc2f59ddfe (patch)
tree73d12f5d62ae3099a471197126cb07e42ddf5d4b /tests/Entities
parent400862f5eea453730b556b34faf1bb45b03a6751 (diff)
downloadphp-epg-service-7d078315d6f592de968fbaf9959a2dbc2f59ddfe.tar.xz
php-epg-service-7d078315d6f592de968fbaf9959a2dbc2f59ddfe.zip
Updated genre entity
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests/Entities')
-rw-r--r--tests/Entities/GenreEntityTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Entities/GenreEntityTest.php b/tests/Entities/GenreEntityTest.php
index 0b1b12c..278fb68 100644
--- a/tests/Entities/GenreEntityTest.php
+++ b/tests/Entities/GenreEntityTest.php
@@ -32,10 +32,10 @@ final class GenreEntityTest extends TestCase {
public function testCreateEntity(): void {
$faker = Faker::create();
- $id = $faker->numberBetween(1, 999);
- $lang = $faker->languageCode;
- $name = $faker->word;
- $version = $faker->sha256;
+ $id = $faker->unique()->sha256;
+ $lang = $faker->unique()->sha256;
+ $name = $faker->unique()->sha256;
+ $version = $faker->unique()->sha256;
$entity = GenreEntity::create(compact('id', 'lang', 'name', 'version'));