mirror of
https://github.com/boostorg/boost-tasks.git
synced 2026-01-19 16:12:13 +00:00
20 lines
391 B
PHP
20 lines
391 B
PHP
<?php
|
|
|
|
use BoostTasks\Settings;
|
|
use BoostTasks\Log;
|
|
|
|
require_once(__DIR__.'/../vendor/autoload.php');
|
|
Tester\Environment::setup();
|
|
|
|
class TestBase extends \Tester\TestCase {
|
|
function setup() {
|
|
Settings::init(array('testing' => true));
|
|
}
|
|
|
|
function tearDown() {
|
|
Settings::$instance = null;
|
|
Log::$log = null;
|
|
BoostTasks\Db::$instance = null;
|
|
}
|
|
}
|