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