function SchemaTest::tryInsertExpectsIntegrityConstraintViolationException

Same name in other branches
  1. 10 core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php \Drupal\Tests\sqlite\Kernel\sqlite\SchemaTest::tryInsertExpectsIntegrityConstraintViolationException()

Overrides DriverSpecificSchemaTestBase::tryInsertExpectsIntegrityConstraintViolationException

File

core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php, line 27

Class

SchemaTest
Tests schema API for the SQLite driver.

Namespace

Drupal\Tests\sqlite\Kernel\sqlite

Code

protected function tryInsertExpectsIntegrityConstraintViolationException(string $tableName) : void {
    // Sqlite does not throw an IntegrityConstraintViolationException here.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.