Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function testUpdateAllCountersException(): void |
||
26 | { |
||
27 | $dummyClass = new DummyActiveRecord($this->sqliteConnection); |
||
28 | |||
29 | $this->expectException(NotSupportedException::class); |
||
30 | $this->expectExceptionMessage('Yiisoft\ActiveRecord\BaseActiveRecord::updateAllCounters is not supported'); |
||
31 | |||
32 | $dummyClass->updateAllCounters(['id' => 1]); |
||
33 | } |
||
45 |