Total Complexity | 1 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ResourceTest extends TestCase { |
||
9 | |||
10 | private $mock_resource_data = [ |
||
11 | 'bool_test' => '1', |
||
12 | 'int_test' => '8', |
||
13 | 'float_test' => '8.5', |
||
14 | 'date_test' => '2021-10-05 00:13:25', |
||
15 | 'date_test_neg' => '-' |
||
16 | ]; |
||
17 | |||
18 | /** |
||
19 | * @test |
||
20 | * @covers \Lifeboat\Resource\ApiResource::__construct |
||
21 | * @covers \Lifeboat\Resource\ApiResource::setClient |
||
22 | * @covers \Lifeboat\Resource\ApiResource::getClient |
||
23 | * @covers \lifeboat_date_formatter() |
||
24 | */ |
||
25 | public function testConstruct() |
||
46 |