Skip to content

Commit

Permalink
Skip WP 6.3 incompatible tests, for now
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Jan 19, 2024
1 parent 636b406 commit a1f37e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public function test_register_routes() {
}

public function test_font_faces_no_autosave_routes() {
// @core-merge: Enable this test.
$this->markTestSkipped( 'This test only works with WP 6.4 and above. Enable it once 6.5 is released.' );
$routes = rest_get_server()->get_routes();
$this->assertArrayNotHasKey(
'/wp/v2/font-families/(?P<font_family_id>[\d]+)/font-faces/(?P<id>[\d]+)/autosaves',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public function test_register_routes() {
}

public function test_font_families_no_autosave_routes() {
// @core-merge: Enable this test.
$this->markTestSkipped( 'This test only works with WP 6.4 and above. Enable it once 6.5 is released.' );
$routes = rest_get_server()->get_routes();
$this->assertArrayNotHasKey(
'/wp/v2/font-families/(?P<id>[\d]+)/autosaves',
Expand Down

0 comments on commit a1f37e4

Please sign in to comment.