| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function testMakeJob(): void |
||
| 22 | { |
||
| 23 | $factory = new ContainerRegistry(new Container()); |
||
| 24 | |||
| 25 | $j = $factory->getHandler('spiral.jobs.tests.local.job'); |
||
| 26 | $this->assertInstanceOf(Job::class, $j); |
||
| 27 | |||
| 28 | $this->assertSame(json_encode(['data' => 200]), $j->serialize( |
||
|
|
|||
| 29 | 'spiral.jobs.tests.local.job', |
||
| 30 | ['data' => 200] |
||
| 31 | )); |
||
| 44 |