public function testDeprecationSelect() { $this->
expectDeprecation('\Drupal\Core\Database\Driver\sqlite\Select is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. See https://www.drupal.org/node/3129492'
);
$select =
new Select($this->connection, 'test'
);
$this->
assertInstanceOf(Select::
class,
$select);
} /**
* @covers Drupal\Core\Database\Driver\sqlite\Statement
*/
public function testDeprecationStatement() { $this->
expectDeprecation('\Drupal\Core\Database\Driver\sqlite\Statement is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. See https://www.drupal.org/node/3129492'
);
$statement =
new Statement($this->
createMock(StubPDO::
class),
$this->connection, '',
[]);
$this->
assertInstanceOf(Statement::
class,
$statement);
} /**
* @covers Drupal\Core\Database\Driver\sqlite\Truncate
*/
public function testDeprecationTruncate() { $this->
expectDeprecation('\Drupal\Core\Database\Driver\sqlite\Truncate is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. See https://www.drupal.org/node/3129492'
);
$truncate =
new Truncate($this->connection, 'test'
);
$this->
assertInstanceOf(Truncate::
class,
$truncate);
}