| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public function testCacheSpace() : void |
||
| 24 | { |
||
| 25 | $total = self::getTotalCalls(self::STAT_REQUEST_SELECT); |
||
| 26 | |||
| 27 | $this->client->flushSpaces(); |
||
| 28 | $this->client->getSpace('test_space_caching')->select(Criteria::key([])); |
||
| 29 | $this->client->getSpace('test_space_caching')->select(Criteria::key([])); |
||
| 30 | |||
| 31 | self::assertSame(3, self::getTotalCalls(self::STAT_REQUEST_SELECT) - $total); |
||
| 32 | } |
||
| 46 |