Skip to content

Commit

Permalink
Change require files bootstrap phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
edson-nascimento committed Jul 12, 2022
1 parent decff6f commit 4e99780
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/bootstrap.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
use Getnet\API\Getnet;
use Getnet\API\Environment;

require_once '../vendor/autoload.php';
$ROOTDIR = dirname(__DIR__);

require_once $ROOTDIR . '/vendor/autoload.php';

// Include if exists
// for local development copy config/env.test.php.txt to config/env.test.php and add your credentials
require_once 'env.test.php';
require_once $ROOTDIR . '/config/env.test.php';

/**
*
Expand Down

0 comments on commit 4e99780

Please sign in to comment.