We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629db26 commit 285b7a2Copy full SHA for 285b7a2
tests/Database/connect.inc.php
@@ -20,7 +20,7 @@
20
}
21
22
if (strpos($options['dsn'], 'sqlite::memory:') === FALSE) {
23
- Tester\Environment::lock($options['dsn'], dirname(TEMP_DIR));
+ Tester\Environment::lock($options['dsn'], TEMP_DIR);
24
25
26
$driverName = $connection->getPdo()->getAttribute(PDO::ATTR_DRIVER_NAME);
tests/bootstrap.php
@@ -15,9 +15,8 @@
15
16
17
// create temporary directory
18
-define('TEMP_DIR', __DIR__ . '/tmp/' . getmypid());
19
-@mkdir(dirname(TEMP_DIR)); // @ - directory may already exist
-Tester\Helpers::purge(TEMP_DIR);
+define('TEMP_DIR', __DIR__ . '/tmp');
+@mkdir(TEMP_DIR); // @ - directory may already exist
function before(\Closure $function = NULL)
0 commit comments