Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored and github-actions[bot] committed Sep 1, 2024
1 parent 8fa82fa commit 92f2737
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Feature/Platform/RelationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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.')'],
]);
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 92f2737

Please sign in to comment.