Skip to content

Commit

Permalink
Use assertEqualSets
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Feb 6, 2025
1 parent f4be902 commit 49a0855
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions phpunit/script-dependencies-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public function test_polyfill_dependents() {
'wp-upload-media',
);

sort( $expected, SORT_STRING );
sort( $dependents, SORT_STRING );

$this->assertSame( $expected, $dependents );
$this->assertEqualSets( $expected, $dependents );
}
}

0 comments on commit 49a0855

Please sign in to comment.