Skip to content

Commit c932148

Browse files
committed
Update RecordMetricTest.php
1 parent e488535 commit c932148

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Jobs/RecordMetricTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@
241241
(new RecordMetric($data))->handle();
242242
(new RecordMetric($data))->handle();
243243

244-
$recorded = Metric::first();
244+
$metric = Metric::first();
245245

246-
expect($recorded->source)->toBe('google');
247-
expect($recorded->country)->toBe('US');
248-
expect($recorded->value)->toBe(2);
246+
expect($metric->source)->toBe('google');
247+
expect($metric->country)->toBe('US');
248+
expect($metric->value)->toBe(2);
249249
});
250250

251251
it('cannot override core attributes with additional attributes', function () {

0 commit comments

Comments
 (0)