Skip to content

Commit

Permalink
Update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Jan 9, 2025
1 parent a4dc3be commit fc51128
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ function http_disable_request( $response, $args, $url ) {
// Start up the WP testing environment.
require $_tests_dir . '/includes/bootstrap.php';
require __DIR__ . '/class-activitypub-testcase-cache-http.php';
require __DIR__ . '/class-rest-controller-testcase.php';
require __DIR__ . '/class-test-rest-controller-testcase.php';

\Activitypub\Migration::add_default_settings();
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* REST Controller Testcase.
*/
abstract class REST_Controller_Testcase extends \WP_Test_REST_TestCase {
abstract class Test_REST_Controller_Testcase extends \WP_Test_REST_TestCase {

/**
* The REST server.
Expand Down
4 changes: 1 addition & 3 deletions tests/includes/rest/class-test-webfinger-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@

namespace Activitypub\Tests\Rest;

use Activitypub\Tests\REST_Controller_Testcase;

/**
* Tests for WebFinger REST API endpoint.
*
* @coversDefaultClass \Activitypub\Rest\Webfinger_Controller
*/
class Test_Webfinger_Controller extends REST_Controller_Testcase {
class Test_Webfinger_Controller extends \Activitypub\Tests\Test_REST_Controller_Testcase {

/**
* Test user.
Expand Down

0 comments on commit fc51128

Please sign in to comment.