Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 4a51c6419f - Show all commits

View File

@ -33,7 +33,7 @@ class AnimeClientTestCase extends TestCase {
use MatchesSnapshots;
// Test directory constants
public const ROOT_DIR = ROOT_DIR;
public const ROOT_DIR = AC_TEST_ROOT_DIR;
public const SRC_DIR = SRC_DIR;
public const TEST_DATA_DIR = __DIR__ . '/test_data';
public const TEST_VIEW_DIR = __DIR__ . '/test_views';
@ -60,7 +60,7 @@ class AnimeClientTestCase extends TestCase {
$config_array = [
'asset_path' => '/assets',
'img_cache_path' => _dir(ROOT_DIR, 'public/images'),
'img_cache_path' => _dir(self::ROOT_DIR, 'public/images'),
'data_cache_path' => _dir(self::TEST_DATA_DIR, 'cache'),
'cache' => [
'driver' => 'null',

View File

@ -27,7 +27,7 @@ use Laminas\Diactoros\ServerRequestFactory;
*/
class IonTestCase extends TestCase {
// Test directory constants
public const ROOT_DIR = ROOT_DIR;
public const ROOT_DIR = AC_TEST_ROOT_DIR;
public const SRC_DIR = SRC_DIR;
public const TEST_DATA_DIR = __DIR__ . '/test_data';
public const TEST_VIEW_DIR = __DIR__ . '/test_views';

View File

@ -10,8 +10,8 @@ if ($timezone === '' || $timezone === FALSE)
ini_set('date.timezone', 'GMT');
}
define('ROOT_DIR', dirname(__DIR__) . '/');
define('SRC_DIR', ROOT_DIR . 'src/');
define('AC_TEST_ROOT_DIR', dirname(__DIR__) . '/');
define('SRC_DIR', AC_TEST_ROOT_DIR . 'src/');
define('TEST_DIR', __DIR__ . '/');
// -----------------------------------------------------------------------------
@ -20,7 +20,7 @@ define('TEST_DIR', __DIR__ . '/');
require_once TEST_DIR . 'AnimeClient/AnimeClientTestCase.php';
require_once TEST_DIR . '/Ion/IonTestCase.php';
require_once ROOT_DIR . 'vendor/autoload.php';
require_once AC_TEST_ROOT_DIR . 'vendor/autoload.php';
// -----------------------------------------------------------------------------
// Ini Settings