first commit
This commit is contained in:
19
modules/gamification/tests/autoload.php
Normal file
19
modules/gamification/tests/autoload.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// ========== Mocks ===========
|
||||
require_once __DIR__ . '/mocks/ObjectModel.php';
|
||||
|
||||
// ======== Classes ===========
|
||||
require_once __DIR__ . '/../classes/Advice.php';
|
||||
require_once __DIR__ . '/../classes/Badge.php';
|
||||
require_once __DIR__ . '/../classes/GamificationTools.php';
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
define('_PS_VERSION_', 'TEST_VERSION');
|
||||
}
|
||||
|
||||
if (!defined('__PS_BASE_URI__')) {
|
||||
define('__PS_BASE_URI__', '__PS_BASE_URI__');
|
||||
}
|
||||
Reference in New Issue
Block a user