Skip to content

Commit

Permalink
test: prevent false negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 24, 2024
1 parent 4d8e6ab commit 3b7b405
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function can_search_for_tags(string $search, array $expected)
$data = json_decode($contents = $response->getBody()->getContents(), true)['data'] ?? [];

$this->assertEquals(200, $response->getStatusCode(), $contents);
$this->assertEquals($expected, Arr::pluck($data, 'id'));
$this->assertEqualsCanonicalizing($expected, Arr::pluck($data, 'id'));
}

public static function searchDataProvider(): array
Expand Down

0 comments on commit 3b7b405

Please sign in to comment.