Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Oct 19, 2021
1 parent cd2262d commit a421f70
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/JobRecorder/JobRecorderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ public function it_can_read_specific_properties_from_a_job()

$recorded = $recorder->toArray();



if ((int) Str::before(Application::VERSION, '.') > 7) {
if((int) Str::before(Application::VERSION, '.') > 7){
$this->assertEquals($date->unix(), $recorded['retryUntil']);
}

Expand Down Expand Up @@ -114,7 +112,7 @@ public function it_can_record_a_closure_job()

$recorded = $recorder->toArray();

$this->assertEquals('Closure (JobRecorderTest.php:100)', $recorded['name']);
$this->assertEquals('Closure (JobRecorderTest.php:105)', $recorded['name']);
}

/** @test */
Expand Down

0 comments on commit a421f70

Please sign in to comment.