Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
merkushin committed Mar 23, 2024
1 parent eddb9c7 commit 3e4cdf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit-tests/wpml/test-class-page.php
Expand Up @@ -21,7 +21,7 @@ public function testGetTranslatedCourseCompletedPageId_WhenCalled_AddsFilter() {
/* Arrange. */
$page = new Page();

$filter_applied = false;
$filter_applied = false;
$filter_function = function ( $page_id ) use ( &$filter_applied ) {
$filter_applied = true;
return $page_id;
Expand All @@ -35,5 +35,4 @@ public function testGetTranslatedCourseCompletedPageId_WhenCalled_AddsFilter() {
remove_filter( 'wpml_object_id', $filter_function, 10 );
$this->assertTrue( $filter_applied );
}

}

0 comments on commit 3e4cdf4

Please sign in to comment.