| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function test_it_allows_timebuilder_for_database() |
||
| 25 | { |
||
| 26 | $options = OptionBuilder::forDatabase() |
||
| 27 | ->expirationTime()->hour(6) |
||
| 28 | ->flushAfter()->week(1) |
||
| 29 | ->build(); |
||
| 30 | |||
| 31 | $this->assertSame('6 hours', $options['expirationTime']); |
||
| 32 | $this->assertSame('1 weeks', $options['flushAfter']); |
||
| 33 | } |
||
| 35 |