public function SchemaTest::testIntroscpectSchemaException in Drupal driver for SQL Server and SQL Azure 4.1.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/SchemaTest.php \Drupal\Tests\sqlsrv\Kernel\SchemaTest::testIntroscpectSchemaException()
- 4.2.x tests/src/Kernel/SchemaTest.php \Drupal\Tests\sqlsrv\Kernel\SchemaTest::testIntroscpectSchemaException()
- 3.0.x tests/src/Kernel/SchemaTest.php \Drupal\Tests\sqlsrv\Kernel\SchemaTest::testIntroscpectSchemaException()
- 3.1.x tests/src/Kernel/SchemaTest.php \Drupal\Tests\sqlsrv\Kernel\SchemaTest::testIntroscpectSchemaException()
- 4.0.x tests/src/Kernel/SchemaTest.php \Drupal\Tests\sqlsrv\Kernel\SchemaTest::testIntroscpectSchemaException()
Exception thrown when table does not exist.
File
- tests/
src/ Kernel/ SchemaTest.php, line 235
Class
- SchemaTest
- Tests table creation and modification via the schema API.
Namespace
Drupal\Tests\sqlsrv\KernelCode
public function testIntroscpectSchemaException() {
$this
->expectException(SchemaObjectDoesNotExistException::class);
$this->schema
->introspectIndexSchema('test_new');
}