Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit 92af483

Browse files
authored
Merge pull request #2 from MGatner/reinstate-supportpath
Restore SUPPORTPATH, add PROJECTSUPPORTPATH
2 parents a165c47 + a87d4e6 commit 92af483

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tests/_support/bootstrap.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
define('WRITEPATH', realpath($paths->writableDirectory) . DIRECTORY_SEPARATOR);
2121
define('SYSTEMPATH', realpath($paths->systemDirectory) . DIRECTORY_SEPARATOR);
2222
define('CIPATH', realpath(SYSTEMPATH . '../') . DIRECTORY_SEPARATOR);
23+
define('SUPPORTPATH', realpath(ROOTPATH . 'tests/_support') . DIRECTORY_SEPARATOR);
2324

2425
// Define necessary project test path constants
25-
define('SUPPORTPATH', realpath(__DIR__) . DIRECTORY_SEPARATOR);
26-
define('TESTPATH', realpath(SUPPORTPATH . '../') . DIRECTORY_SEPARATOR);
26+
define('PROJECTSUPPORTPATH', realpath(__DIR__) . DIRECTORY_SEPARATOR);
27+
define('TESTPATH', realpath(PROJECTSUPPORTPATH . '../') . DIRECTORY_SEPARATOR);
2728

2829
// Set environment values that would otherwise stop the framework from functioning during tests.
2930
if (! isset($_SERVER['app.baseURL']))

0 commit comments

Comments
 (0)