We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cecff5 commit 2494d8aCopy full SHA for 2494d8a
composer.json
@@ -47,7 +47,8 @@
47
"require-dev": {
48
"phpunit/phpunit": "^7.5",
49
"mockery/mockery": "^1.0",
50
- "orchestra/testbench": "^3.8"
+ "orchestra/testbench": "^3.8",
51
+ "ramsey/uuid": "^3.0"
52
},
53
"autoload": {
54
"psr-4": {
tests/database/factories/ApiModelFactory.php
@@ -1,5 +1,6 @@
1
<?php
2
3
+use Ramsey\Uuid\Uuid;
4
use Faker\Generator as Faker;
5
use OwenIt\Auditing\Tests\Models\ApiModel;
6
@@ -12,7 +13,7 @@
12
13
14
$factory->define(ApiModel::class, function (Faker $faker) {
15
return [
- 'api_model_id' => '8a7c2336-705a-41ad-9231-9199b4a64269',
16
+ 'api_model_id' => Uuid::uuid4(),
17
'content' => $faker->unique()->paragraph(6),
18
'published_at' => null,
19
];
0 commit comments