]> git.mxchange.org Git - friendica.git/blob - tests/bootstrap.php
Removed tests
[friendica.git] / tests / bootstrap.php
1 <?php
2 /**
3  * This file is loaded by PHPUnit before any test.
4  */
5
6 use Dice\Dice;
7 use Friendica\DI;
8 use PHPUnit\Framework\TestCase;
9
10 // Backward compatibility
11 if (!class_exists(TestCase::class)) {
12         class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
13 }
14
15 $dice = new Dice();
16 $dice = $dice->addRules(include  __DIR__ . '/../static/dependencies.config.php');
17
18 DI::init($dice);