Skip to content

Commit

Permalink
Fix test comparison for SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Mar 16, 2024
1 parent 2cf94f4 commit b81e183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/Recorders/ServersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
$aggregates = Pulse::ignore(fn () => DB::table('pulse_aggregates')->get());
expect($aggregates->count())->toBe(8);
expect($aggregates->pluck('type')->unique()->values()->all())->toBe(['cpu', 'memory']);
expect($aggregates->pluck('value')->unique()->values()->all())->toBe(['987654321.00', '1234.00']);
expect($aggregates->pluck('value')->unique()->values()->all())->toEqual(['987654321.00', '1234.00']);

Servers::detectCpuUsing(null);
Servers::detectMemoryUsing(null);
Expand Down

0 comments on commit b81e183

Please sign in to comment.