Fixing php unit tests

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-12-09 08:27:37 +00:00
parent 37ba4e29b1
commit 5f391ef9ef
2 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,6 @@
use PHPUnit\Framework\TestCase;
define('DIR_BASE', $_ENV['DIR_BASE']);
define('TEST_FILES_DIR', $_ENV['TEST_FILES_DIR']);
require_once DIR_BASE . 'system/helper/mime.php';

View File

@ -1,14 +1,12 @@
<?php
define(CONTENT_TYPE, 'content-type');
define(TEXT_PLAIN, 'text/plain');
define(SUBJECT, 'subject');
define(THIS_IS_A_TEST, 'This is a test');
define('CONTENT_TYPE', 'content-type');
define('TEXT_PLAIN', 'text/plain');
define('SUBJECT', 'subject');
define('THIS_IS_A_TEST', 'This is a test');
use PHPUnit\Framework\TestCase;
define('DIR_BASE', $_ENV['DIR_BASE']);
require_once DIR_BASE . 'system/helper/mime.php';