Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
getdave authored Jul 7, 2023
commit 376c91cdfc7718c78fd50937d02d730ed3cf4c0f
4 changes: 2 additions & 2 deletions tests/phpunit/tests/editor/navigation-fallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ public function test_should_return_a_default_fallback_navigation_menu_in_absence
}

/**
* @ticket 58557
* @ticket 58750
* @covers WP_REST_Navigation_Fallback_Controller::get_fallback
*/
public function test_should_not_automatically_create_fallback_if_filter_is_falsey() {

add_filter( 'gutenberg_navigation_should_create_fallback', '__return_false' );
add_filter( 'wp_navigation_should_create_fallback', '__return_false' );

$data = Gutenberg_Navigation_Fallback::get_fallback();

Expand Down