Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Feb 6, 2024
1 parent 3d0059d commit ade5869
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Test/Unit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
// Load Composer's autoloader
require_once __DIR__ . '/../../../../autoload.php';
echo "Loading Composer's autoloader\n";
echo __DIR__ . '/../../vendor/sequra/integration-core/tests/BusinessLogic';
echo __DIR__ . '/../../vendor/sequra/integration-core/tests/Infrastructure';
$files = scandir(__DIR__ . '/../../vendor/sequra/integration-core/');
echo __DIR__ . '/../../../integration-core/tests/BusinessLogic';
$files = scandir( __DIR__ . '/../../../integration-core/tests/BusinessLogic');

// Loop through each item and print it
foreach ($files as $file) {
Expand All @@ -16,8 +15,8 @@
$loader = new \Composer\Autoload\ClassLoader();

// Add namespaces from your module's composer.json file
$loader->addPsr4('SeQura\\Core\\Tests\\Infrastructure\\', __DIR__ . '/../../vendor/sequra/integration-core/tests/Infrastructure');
$loader->addPsr4('SeQura\\Core\\Tests\\BusinessLogic\\', __DIR__ . '/../../vendor/sequra/integration-core/tests/BusinessLogic');
$loader->addPsr4('SeQura\\Core\\Tests\\Infrastructure\\', __DIR__ . '/../../../integration-core/tests/Infrastructure');
$loader->addPsr4('SeQura\\Core\\Tests\\BusinessLogic\\', __DIR__ . '/../../../integration-core/tests/BusinessLogic');

// Register the loader
$loader->register();
Expand Down

0 comments on commit ade5869

Please sign in to comment.