| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class ConnectionTest extends AbstractConnectionTest |
||
| 18 | { |
||
| 19 | use TestTrait; |
||
| 20 | |||
| 21 | public function testGetTableSchema(): void |
||
| 22 | { |
||
| 23 | $db = $this->getConnection(); |
||
| 24 | |||
| 25 | $this->expectException(NotSupportedException::class); |
||
| 26 | $this->expectExceptionMessage( |
||
| 27 | 'Yiisoft\Db\Tests\Support\Stubs\Schema::loadTableSchema() is not supported by core-db.' |
||
| 28 | ); |
||
| 29 | |||
| 30 | $db->getTableSchema('non_existing_table'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function testNestedTransactionNotSupported(): void |
||
| 47 | } |
||
| 48 | ); |
||
| 51 |