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