Skip to content

Commit

Permalink
Pass fresh data to expected-JSON formatter in ApiListVersionsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Dec 18, 2023
1 parent e6182e2 commit ec33763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/ApiListVersionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function it_lists_versions_in_expected_format()

$response = $this->get(route('api.versions.index'));

$this->assertJsonStringEqualsJsonString($this->getVersionsJsonResponse($versions), $response->getContent());
$this->assertJsonStringEqualsJsonString($this->getVersionsJsonResponse(LaravelVersion::all()), $response->getContent());
}

/** @test */
Expand Down

0 comments on commit ec33763

Please sign in to comment.