We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class CrudPanelQueryDatabaseTest extends BaseDBCrudPanel |
||
| 13 | { |
||
| 14 | public function setUp(): void |
||
| 15 | { |
||
| 16 | parent::setUp(); |
||
| 17 | |||
| 18 | $this->crudPanel->setModel(User::class); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testItCanGetTheQueryCount() |
||
| 24 | } |
||
| 25 | |||
| 26 | public function testItDoesNotCountTheQueryAgainIfThereAreNoFilters() |
||
| 27 | { |
||
| 28 | $this->assertNull($this->crudPanel->getFilteredQueryCount()); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testItCountTheQueryAgainIfThereAreFilters() |
||
| 36 | } |
||
| 37 | |||
| 38 | public function testRawExpressionsDontGetRemovedFromCount() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |