| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace GeneaLabs\LaravelCaffeine\Tests\Unit\Providers; |
||
| 8 | class DripperTest extends UnitTestCase |
||
| 9 | { |
||
| 10 | public function testAgeCheckIntervalAttributeValue() |
||
| 11 | { |
||
| 12 | $expectedResult = 2000; |
||
| 13 | |||
| 14 | $actualResult = (new Dripper)->ageCheckInterval; |
||
| 15 | |||
| 16 | $this->assertEquals($expectedResult, $actualResult); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function testAgeThresholdAttributeValue() |
||
| 20 | { |
||
| 21 | $expectedResult = 7080000; |
||
| 22 | |||
| 23 | $actualResult = (new Dripper)->ageThreshold; |
||
| 24 | |||
| 25 | $this->assertEquals($expectedResult, $actualResult); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testUrlAttributeValue() |
||
| 35 | } |
||
| 36 | |||
| 37 | public function testIntervalAttributeValue() |
||
| 44 | } |
||
| 45 | |||
| 46 | public function testHtmlAttributeValue() |
||
| 55 |