Skip to content

Commit

Permalink
Change bootstrap.php file for tests inside its own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrossi committed Oct 6, 2016
1 parent 4dd0dfa commit f50046c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
bootstrap="tests/config/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php → tests/config/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author Junior Grossi <[email protected]>
*/

require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../../vendor/autoload.php';

$capsule = \Corcel\Database::connect($params = [
'database' => 'corcel_acf',
Expand Down
Empty file added tests/config/database.sql
Empty file.

0 comments on commit f50046c

Please sign in to comment.