| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function testDeleteAllException(): void |
||
| 36 | { |
||
| 37 | $dummyClass = new DummyActiveRecord($this->sqliteConnection); |
||
| 38 | |||
| 39 | $this->expectException(NotSupportedException::class); |
||
| 40 | $this->expectExceptionMessage('Yiisoft\ActiveRecord\BaseActiveRecord::deleteAll is not supported.'); |
||
| 41 | |||
| 42 | $dummyClass->deleteAll(['id' => 1]); |
||
| 43 | } |
||
| 45 |