Skip to content

Commit

Permalink
Fixed test for version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Lednerb committed May 11, 2019
1 parent 13b16e9 commit 8e16a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Unit/ScanCallbackResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ public function the_scanCallbackResponse_has_the_defined_format()

$response = new ScanCallbackResponse($scan->refresh());

$this->assertEquals(json_encode([
$this->assertJsonStringEqualsJsonString(json_encode([
'url' => 'https://example.org',
'dangerLevel' => '7',
'started_at' => '2019-05-07 11:55:15',
'finished_at' => '2019-05-07 11:55:15',
'version' => '2.0.0',
'results' => [
[
'started_at' => now()->toDateTimeString(),
Expand Down

0 comments on commit 8e16a37

Please sign in to comment.