Skip to content

Commit

Permalink
Merge pull request #31 from Laragear/analysis-kYL6RG
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI

[ci skip] [skip ci]
  • Loading branch information
DarkGhostHunter authored Mar 4, 2024
2 parents 34edf95 + f82a3e8 commit 377a870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/CacheAwareConnectionProxyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use LogicException;
use Mockery;
use Orchestra\Testbench\Attributes\WithMigration;

use function floor;
use function max;
use function now;
Expand All @@ -37,7 +38,7 @@ protected function setUp(): void
'email_verified_at' => today(),
])->toArray());

$this->app->make('db')->table('posts')->insert(Collection::times(6, fn($i) => [
$this->app->make('db')->table('posts')->insert(Collection::times(6, fn ($i) => [
'title' => $this->faker->text(20),
'user_id' => (int) floor(max(1, $i / 2)),
])->toArray());
Expand Down

0 comments on commit 377a870

Please sign in to comment.