Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function testUpdateAllException(): void |
||
16 | { |
||
17 | $dummyClass = new DummyActiveRecord($this->sqliteConnection); |
||
18 | |||
19 | $this->expectException(NotSupportedException::class); |
||
20 | $this->expectExceptionMessage('Yiisoft\ActiveRecord\BaseActiveRecord::updateAll is not supported.'); |
||
21 | |||
22 | $dummyClass->updateAll(['id' => 1]); |
||
23 | } |
||
45 |