aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Entities/CategoryEntityTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Entities/CategoryEntityTest.php b/tests/Entities/CategoryEntityTest.php
index 6ad7bd3..35363fa 100644
--- a/tests/Entities/CategoryEntityTest.php
+++ b/tests/Entities/CategoryEntityTest.php
@@ -32,10 +32,10 @@ final class CategoryEntityTest 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 = CategoryEntity::create(compact('id', 'lang', 'name', 'version'));