Skip to content

Commit a2a976d

Browse files
Update expected route for WP_REST_Block_Patterns_Controller
See WordPress#2488 (comment).
1 parent 114a651 commit a2a976d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/rest-api/wpRestBlockPatternsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Tests_REST_WpRestBlockPatternsController extends WP_Test_REST_Controller_T
4343
*
4444
* @var string
4545
*/
46-
const REQUEST_ROUTE = '/__experimental/block-patterns/patterns';
46+
const REQUEST_ROUTE = '/wp/v2/block-patterns/patterns';
4747

4848
/**
4949
* Set up class test fixtures.

0 commit comments

Comments
 (0)