Skip to content

Commit

Permalink
fix integration tests 4
Browse files Browse the repository at this point in the history
  • Loading branch information
engahmeds3ed committed Jul 18, 2023
1 parent 9f245db commit df1d529
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Integration/inc/ThirdParty/Themes/Uncode/excludeJs.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public function set_stylesheet_root() {
* @dataProvider providerTestData
*/
public function testShouldReturnExpected( $config, $expected ) {
$this->assertArraySubset(
$expected,
apply_filters( 'rocket_exclude_js', $config['exclusions'] )
);
$actual = apply_filters( 'rocket_exclude_js', $config['exclusions'] );
foreach ( $expected as $item ) {
$this->assertContains( $item, $actual );
}
}
}

0 comments on commit df1d529

Please sign in to comment.