Skip to content

Commit

Permalink
Use TESTS_PLUGIN_DIR constant in uninstall tests
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Arntz <[email protected]>
  • Loading branch information
westonruter and felixarntz authored Jan 28, 2025
1 parent 6d26270 commit a985976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/optimization-detective/tests/test-uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function set_up_before_class(): void {
* Load uninstall.php.
*/
private function require_uninstall(): void {
require TESTS_REPO_ROOT_DIR . '/plugins/optimization-detective/uninstall.php';
require TESTS_PLUGIN_DIR . '/uninstall.php';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function set_up_before_class(): void {
* Load uninstall.php.
*/
private function require_uninstall(): void {
require TESTS_REPO_ROOT_DIR . '/plugins/speculation-rules/uninstall.php';
require TESTS_PLUGIN_DIR . '/uninstall.php';
}

/**
Expand Down

0 comments on commit a985976

Please sign in to comment.