diff options
author | Valentin Popov <info@valentineus.link> | 2020-07-19 19:14:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-07-19 19:14:20 +0300 |
commit | 7d078315d6f592de968fbaf9959a2dbc2f59ddfe (patch) | |
tree | 73d12f5d62ae3099a471197126cb07e42ddf5d4b /tests | |
parent | 400862f5eea453730b556b34faf1bb45b03a6751 (diff) | |
download | php-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')
-rw-r--r-- | tests/Entities/GenreEntityTest.php | 8 |
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')); |