Skip to content

Commit f50046c

Browse files
committed
Change bootstrap.php file for tests inside its own directory
1 parent 4dd0dfa commit f50046c

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4-
bootstrap="tests/bootstrap.php"
4+
bootstrap="tests/config/bootstrap.php"
55
colors="true"
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"

tests/bootstrap.php tests/config/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @author Junior Grossi <juniorgro@gmail.com>
55
*/
66

7-
require __DIR__ . '/../vendor/autoload.php';
7+
require __DIR__ . '/../../vendor/autoload.php';
88

99
$capsule = \Corcel\Database::connect($params = [
1010
'database' => 'corcel_acf',

tests/config/database.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)