From 92f27375b657e2df363890f80d2ad3574c20d5b1 Mon Sep 17 00:00:00 2001 From: tabuna Date: Sun, 1 Sep 2024 19:49:37 +0000 Subject: [PATCH] Fixed code style --- tests/Feature/Platform/RelationsTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Feature/Platform/RelationsTest.php b/tests/Feature/Platform/RelationsTest.php index 76678d30d..328216e6f 100644 --- a/tests/Feature/Platform/RelationsTest.php +++ b/tests/Feature/Platform/RelationsTest.php @@ -62,11 +62,11 @@ public function testScopeModel(array $scope): void public function testAppendModel(array $scope): void { $response = $this->getScope($scope, 'full'); - + $json = $this->users->map(function ($user) { return [ 'value' => $user->id, - 'label' => $user->name . ' (' . $user->email . ')', + 'label' => $user->name.' ('.$user->email.')', ]; })->toArray(); @@ -129,7 +129,7 @@ public function testSearchColumns() ->post(route('platform.systems.relation'), $params); $response->assertJson([ - ['value' => $user->id, 'label' => $user->name . ' (' . $user->email . ')'], + ['value' => $user->id, 'label' => $user->name.' ('.$user->email.')'], ]); } @@ -159,7 +159,7 @@ public function testSearchColumnsWithScopes() $latest_query = array_pop($queryLog); $response->assertJson([ - ['value' => $user->id, 'label' => $user->name . ' (' . $user->email . ')'], + ['value' => $user->id, 'label' => $user->name.' ('.$user->email.')'], ]); $this->assertContains('select * from "users" where "name" = ? and ("email" like ? or "id" like ?) limit 10', $latest_query);