| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | public function testConfigAutowired(): void |
||
| 46 | { |
||
| 47 | $c = new SessionConfig([ |
||
| 48 | 'lifetime' => 86400, |
||
| 49 | 'cookie' => 'SID', |
||
| 50 | 'secure' => false, |
||
| 51 | 'handler' => new Autowire(FileHandler::class, ['directory' => sys_get_temp_dir()]), |
||
| 52 | ]); |
||
| 53 | |||
| 54 | $this->assertEquals(new Autowire(FileHandler::class, [ |
||
| 55 | 'directory' => sys_get_temp_dir() |
||
| 56 | ]), $c->getHandler()); |
||
| 57 | } |
||
| 59 |