Skip to content

Commit 6a12d24

Browse files
committed
Small typo
1 parent 1b1d3ab commit 6a12d24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Feature/ResourceEditsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ public function test_merged_edit_reflects_changes_on_original_resource(): void
180180
$oldImagePath = $resource->image_path;
181181

182182
$this->assertEquals($changes['page_url'], $resource->page_url);
183-
$this->assertEquals($changes['difficulties'], $resource->difficulties);
184183
$this->assertEquals($changes['pricing'], $resource->pricing);
185184

186185
// Arrays
186+
$this->assertEqualsCanonicalizing($changes['difficulties'], $resource->difficulties);
187187
$this->assertEqualsCanonicalizing($changes['platforms'], $resource->platforms);
188188
$this->assertEqualsCanonicalizing($changes['topic_tags'], $resource->topic_tags);
189189
$this->assertEqualsCanonicalizing($changes['programming_language_tags'], $resource->programming_language_tags);

0 commit comments

Comments
 (0)