Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class StaticPublisherState implements TestState |
||
15 | { |
||
16 | public function setUp(SapphireTest $test) |
||
17 | { |
||
18 | Injector::inst()->registerService(new QueuedJobsTestHandler(), QueuedJobHandler::class); |
||
19 | Injector::inst()->registerService(new QueuedJobsTestService(), QueuedJobService::class); |
||
20 | Config::modify()->set(QueuedJobService::class, 'use_shutdown_function', false); |
||
21 | } |
||
22 | |||
23 | public function tearDown(SapphireTest $test) |
||
24 | { |
||
25 | } |
||
26 | |||
27 | public function setUpOnce($class) |
||
28 | { |
||
29 | } |
||
30 | |||
31 | public function tearDownOnce($class) |
||
33 | } |
||
34 | } |
||
35 |