We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e328e2 commit d5fc21cCopy full SHA for d5fc21c
tests/Feature/Recorders/ServersTest.php
@@ -54,7 +54,7 @@
54
expect($payload->memory_used)->toBe(1234);
55
expect($payload->memory_total)->toBe(123456789);
56
57
- $aggregates = Pulse::ignore(fn () => DB::table('pulse_aggregates')->get());
+ $aggregates = Pulse::ignore(fn () => DB::table('pulse_aggregates')->orderBy('type')->get());
58
expect($aggregates->count())->toBe(8);
59
expect($aggregates->pluck('type')->unique()->values()->all())->toBe(['cpu', 'memory']);
60
expect($aggregates->pluck('value')->unique()->values()->all())->toEqual(['987654321.00', '1234.00']);
0 commit comments