Skip to content

Commit

Permalink
Fix test_settings_base_page().
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Jul 16, 2023
1 parent b12f950 commit 92e8ecc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .tests/php/unit/Settings/Abstracts/SettingsBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ public function test_settings_base_page() {
$subject->shouldAllowMockingProtectedMethods();
$subject->shouldReceive( 'get_active_tab' )->once()->andReturn( $page );

$expected = '<div class="wrap"></div>';

ob_start();
$subject->settings_base_page();
self::assertSame( $expected, ob_get_clean() );
}

/**
Expand Down

0 comments on commit 92e8ecc

Please sign in to comment.