Skip to content

Commit

Permalink
build(includes/core-phpunit) correctly patch REST test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed May 13, 2024
1 parent 39b939a commit 8ddebfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ index 27349809..2107abfc 100644
-abstract class WP_Test_REST_TestCase extends WP_UnitTestCase {
+namespace lucatume\WPBrowser\TestCase;
+
+abstract class WP_Test_REST_TestCase extends WPTestCase {
+abstract class WPRestApiTestCase extends WPTestCase {

/**
* Asserts that the REST API response has the specified error.
2 changes: 1 addition & 1 deletion includes/core-phpunit/includes/testcase-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace lucatume\WPBrowser\TestCase;

abstract class WP_Test_REST_TestCase extends WPTestCase {
abstract class WPRestApiTestCase extends WPTestCase {

/**
* Asserts that the REST API response has the specified error.
Expand Down

0 comments on commit 8ddebfb

Please sign in to comment.