Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ProposalTest extends TestCase |
||
9 | { |
||
10 | public function testProposalIndex() |
||
11 | { |
||
12 | $client = $this->getClientWithMockedGet('proposals-index.json'); |
||
13 | |||
14 | $client = new ProposalsClient($this->getConfig(), $client); |
||
15 | $list = $client->index('test'); |
||
16 | |||
17 | foreach ($list as $item) { |
||
18 | $this->assertInstanceOf(Proposal::class, $item); |
||
19 | } |
||
20 | } |
||
21 | |||
22 | public function testProposalStore() |
||
37 | } |
||
38 | |||
39 | public function testProposalDelete() |
||
51 |