Skip to content

Commit

Permalink
tests: fix WP_Query_* require_once locations
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Feb 10, 2024
1 parent fb3ddfc commit 58d2fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/wpunit/ConnectionRegistrationTest.php
Expand Up @@ -808,7 +808,7 @@ public function testWithSetQueryClassWhenNotSupported() : void {
}

public function testWithCustomSetQueryClass() : void {
require_once __DIR__ . '/../_support/Utils/WP_Query_Custom.php';
require_once __DIR__ . '/../_data/classes/WP_Query_Custom.php';

$post_ids = $this->factory()->post->create_many( 2 );

Expand Down Expand Up @@ -927,7 +927,7 @@ public function testWithNonExistentSetQueryClass() : void {
}

public function testWithIncompatibleSetQueryClass() : void {
require_once __DIR__ . '/../_support/Utils/WP_Query_Incompatible.php';
require_once __DIR__ . '/../_data/classes/WP_Query_Incompatible.php';

$query = '
query {
Expand Down

0 comments on commit 58d2fcc

Please sign in to comment.