632bac8661
This version ditches backwards compatibility with PHP earlier than 5.6.
13 lines
352 B
PHP
13 lines
352 B
PHP
<?php
|
|
namespace Szurubooru\Tests;
|
|
use Szurubooru\Injector;
|
|
use Szurubooru\Tests\AbstractTestCase;
|
|
|
|
final class ControllerRepositoryTest extends AbstractTestCase
|
|
{
|
|
public function testInjection()
|
|
{
|
|
$controllerRepository = Injector::get(\Szurubooru\ControllerRepository::class);
|
|
$this->assertNotEmpty($controllerRepository->getControllers());
|
|
}
|
|
}
|