diff --git a/tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php b/tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php index 7999e6992dbf..244ccd18dfc3 100644 --- a/tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php +++ b/tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php @@ -195,7 +195,8 @@ public function testChunkReturnsCorrectModels() 'email', 'created_at', 'updated_at', - 'laravel_through_key', ], array_keys($post->getAttributes())); + 'laravel_through_key', + ], array_keys($post->getAttributes())); }); } @@ -236,7 +237,8 @@ public function testCursorReturnsCorrectModels() 'email', 'created_at', 'updated_at', - 'laravel_through_key', ], array_keys($post->getAttributes())); + 'laravel_through_key', + ], array_keys($post->getAttributes())); } } @@ -255,7 +257,8 @@ public function testEachReturnsCorrectModels() 'email', 'created_at', 'updated_at', - 'laravel_through_key', ], array_keys($post->getAttributes())); + 'laravel_through_key', + ], array_keys($post->getAttributes())); }); } @@ -288,9 +291,9 @@ protected function seedData() HasManyThroughTestCountry::create(['id' => 1, 'name' => 'United States of America', 'shortname' => 'us']) ->users()->create(['id' => 1, 'email' => 'taylorotwell@gmail.com', 'country_short' => 'us']) ->posts()->createMany([ - ['title' => 'A title', 'body' => 'A body', 'email' => 'taylorotwell@gmail.com'], - ['title' => 'Another title', 'body' => 'Another body', 'email' => 'taylorotwell@gmail.com'], - ]); + ['title' => 'A title', 'body' => 'A body', 'email' => 'taylorotwell@gmail.com'], + ['title' => 'Another title', 'body' => 'Another body', 'email' => 'taylorotwell@gmail.com'], + ]); } protected function seedDataExtended() @@ -319,11 +322,11 @@ protected function seedDataExtended() protected function seedDefaultData() { HasManyThroughDefaultTestCountry::create(['id' => 1, 'name' => 'United States of America']) - ->users()->create(['id' => 1, 'email' => 'taylorotwell@gmail.com']) - ->posts()->createMany([ - ['title' => 'A title', 'body' => 'A body'], - ['title' => 'Another title', 'body' => 'Another body'], - ]); + ->users()->create(['id' => 1, 'email' => 'taylorotwell@gmail.com']) + ->posts()->createMany([ + ['title' => 'A title', 'body' => 'A body'], + ['title' => 'Another title', 'body' => 'Another body'], + ]); } /** diff --git a/tests/Foundation/FoundationTestResponseTest.php b/tests/Foundation/FoundationTestResponseTest.php index a2524c1101f7..3b3aef467c07 100644 --- a/tests/Foundation/FoundationTestResponseTest.php +++ b/tests/Foundation/FoundationTestResponseTest.php @@ -739,10 +739,9 @@ public function testAssertJsonMissingValidationErrors() { $baseResponse = tap(new Response, function ($response) { $response->setContent(json_encode(['errors' => [ - 'foo' => [], - 'bar' => ['one', 'two'], - ]] - )); + 'foo' => [], + 'bar' => ['one', 'two'], + ]])); }); $response = TestResponse::fromBaseResponse($baseResponse); @@ -763,10 +762,9 @@ public function testAssertJsonMissingValidationErrorsCanFail() $baseResponse = tap(new Response, function ($response) { $response->setContent(json_encode(['errors' => [ - 'foo' => [], - 'bar' => ['one', 'two'], - ]] - )); + 'foo' => [], + 'bar' => ['one', 'two'], + ]])); }); $response = TestResponse::fromBaseResponse($baseResponse); @@ -780,10 +778,9 @@ public function testAssertJsonMissingValidationErrorsCanFail2() $baseResponse = tap(new Response, function ($response) { $response->setContent(json_encode(['errors' => [ - 'foo' => [], - 'bar' => ['one', 'two'], - ]] - )); + 'foo' => [], + 'bar' => ['one', 'two'], + ]])); }); $response = TestResponse::fromBaseResponse($baseResponse);