| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function testResourceIndex() |
||
| 11 | { |
||
| 12 | $client = $this->getClientWithMockedGet('resources-index.json'); |
||
| 13 | |||
| 14 | $client = new LocalizeClient($this->getConfig(), $client); |
||
| 15 | $list = $client->indexResources(''); |
||
| 16 | |||
| 17 | foreach ($list as $continent) { |
||
| 18 | $this->assertInstanceOf(Resource::class, $continent); |
||
| 19 | } |
||
| 32 |