Skip to content

Commit

Permalink
Use skipped test instead of true assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed Mar 15, 2024
1 parent 5d256c4 commit 9cdc936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/files/test-vip-filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public function data_get_transport_for_path(): iterable {
public function test_wp_font_dir() {
// Only available in WP 6.5 and newer:
if ( ! function_exists( '\wp_get_font_dir' ) ) {
$this->assertEquals( true, true );
$this->markTestSkipped( 'test_wp_font_dir does not need to run for WP < 6.5.' );
return;
}

Expand Down

0 comments on commit 9cdc936

Please sign in to comment.