Skip to content

Commit 8eb1f84

Browse files
committed
fix(deps): perform tests on a site-blank profile instead of site-default
1 parent 6ca94ad commit 8eb1f84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// paths
1010
$baseDir = realpath(__DIR__ . "/../");
1111
$pwDir = realpath($baseDir . "/vendor/processwire/processwire/");
12-
$siteDir = realpath($pwDir . "/site-default/");
12+
$siteDir = realpath($pwDir . "/site-blank/");
1313
$moduleDir = $siteDir . "/modules/ProcessGraphQL";
1414
$testFilesDir = realpath($baseDir . "/test/files");
1515
$siteFilesDir = $siteDir . "/assets/files";
@@ -23,7 +23,7 @@
2323
unlink($installFile);
2424
}
2525

26-
// overwrite site-default's config.php with our own custom one
26+
// overwrite site-blank's config.php with our own custom one
2727
copy(__DIR__ . "/site/config.php", $siteDir . "/config.php");
2828

2929
// symlink site/classes directory
@@ -70,7 +70,7 @@
7070
use ProcessWire\ProcessWire;
7171

7272
$config = ProcessWire::buildConfig($pwDir, null, [
73-
"siteDir" => "site-default"
73+
"siteDir" => "site-blank"
7474
]);
7575

7676
require_once realpath(__DIR__ . "/databaseReset.php");

0 commit comments

Comments
 (0)