diff --git a/tests/Feature/UuidTest.php b/tests/Feature/UuidTest.php index 40ac239..89c1f1c 100644 --- a/tests/Feature/UuidTest.php +++ b/tests/Feature/UuidTest.php @@ -27,8 +27,8 @@ public function setUp(): void public function is_an_instance_of_uuid_contract() { $user = User::create([ - 'name' => 'Laravel Uuid', - 'email' => 'unittest@laravel.uuid', + 'name' => 'Laravel Uuid', + 'email' => 'unittest@laravel.uuid', 'password' => 'password', ]); $this->assertTrue($user instanceof HasUuidContract); @@ -38,10 +38,10 @@ public function is_an_instance_of_uuid_contract() public function has_valid_uuid_on_created_record() { $user = User::create([ - 'name' => 'Laravel Uuid', - 'email' => 'unittest@laravel.uuid', + 'name' => 'Laravel Uuid', + 'email' => 'unittest@laravel.uuid', 'password' => 'password', - 'uuid' => uuid(), + 'uuid' => uuid(), ]); $this->assertTrue($user instanceof HasUuidContract); $this->assertTrue(validUuid($user->uuid)); @@ -51,8 +51,8 @@ public function has_valid_uuid_on_created_record() public function has_valid_uuid_on_created_record_using_uuid_observer() { $user = User::create([ - 'name' => 'Laravel Uuid', - 'email' => 'unittest@laravel.uuid', + 'name' => 'Laravel Uuid', + 'email' => 'unittest@laravel.uuid', 'password' => 'password', ]); $this->assertTrue($user instanceof HasUuidContract); diff --git a/tests/Traits/TestCaseTrait.php b/tests/Traits/TestCaseTrait.php index 761b5c8..c524b23 100644 --- a/tests/Traits/TestCaseTrait.php +++ b/tests/Traits/TestCaseTrait.php @@ -141,9 +141,9 @@ protected function getEnvironmentSetUp($app) // Setup default database to use sqlite :memory: $app['config']->set('database.default', 'testbench'); $app['config']->set('database.connections.testbench', [ - 'driver' => 'sqlite', + 'driver' => 'sqlite', 'database' => ':memory:', - 'prefix' => '', + 'prefix' => '', ]); } diff --git a/tests/Traits/UserTrait.php b/tests/Traits/UserTrait.php index 5aea14d..0ee783d 100644 --- a/tests/Traits/UserTrait.php +++ b/tests/Traits/UserTrait.php @@ -15,17 +15,17 @@ public function seedUsers() { $now = \Carbon\Carbon::now(); \DB::table('users')->insert([ - 'name' => 'PHPUnit', - 'email' => 'hello@phpunit.com', - 'password' => \Hash::make('456'), + 'name' => 'PHPUnit', + 'email' => 'hello@phpunit.com', + 'password' => \Hash::make('456'), 'created_at' => $now, 'updated_at' => $now, ]); \DB::table('users')->insert([ - 'name' => 'PHPUnit', - 'email' => 'hi@phpunit.com', - 'password' => \Hash::make('456'), + 'name' => 'PHPUnit', + 'email' => 'hi@phpunit.com', + 'password' => \Hash::make('456'), 'created_at' => $now, 'updated_at' => $now, ]);