aboutsummaryrefslogtreecommitdiff
path: root/tests/Entities
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-07-19 18:48:41 +0300
committerValentin Popov <info@valentineus.link>2020-07-19 18:48:41 +0300
commit400862f5eea453730b556b34faf1bb45b03a6751 (patch)
treeddc6b75536a9119102dc48762125225a6d6b4ec0 /tests/Entities
parent915cd7b1e0f0f1f994fddafdacfea8f649ff2fa9 (diff)
downloadphp-epg-service-400862f5eea453730b556b34faf1bb45b03a6751.tar.xz
php-epg-service-400862f5eea453730b556b34faf1bb45b03a6751.zip
Updated country entity
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests/Entities')
-rw-r--r--tests/Entities/CountryEntityTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Entities/CountryEntityTest.php b/tests/Entities/CountryEntityTest.php
index dd44075..ffff4fd 100644
--- a/tests/Entities/CountryEntityTest.php
+++ b/tests/Entities/CountryEntityTest.php
@@ -32,7 +32,7 @@ final class CountryEntityTest extends TestCase {
public function testCreateEntity(): void {
$faker = Faker::create();
- $id = $faker->numberBetween(1, 100);
+ $id = $faker->unique()->sha256;
$iso = $faker->countryCode;
$lang = $faker->languageCode;
$name = $faker->unique()->sha256;