-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
98 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
use Magento\Framework\App\Bootstrap; | ||
use Magento\Framework\App\Cron; | ||
// Load Composer's autoloader | ||
require_once __DIR__ . '/../../../../autoload.php'; | ||
|
||
// Register namespaces for autoloading | ||
$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'); | ||
|
||
// Register the loader | ||
$loader->register(); | ||
|
||
require __DIR__ . '/../../../../../app/bootstrap.php'; | ||
|
||
$bootstrap = Bootstrap::create(BP, $_SERVER); | ||
$bootstrap->createApplication(Cron::class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit bootstrap="./bootstrap.php" colors="true"> | ||
<testsuites> | ||
<testsuite name="Sequra Magento 2 Core Test Suite"> | ||
<directory>./</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |