Remove the rest of the @group annotations except for "performance" from tests

parent f81d02e1
......@@ -24,8 +24,6 @@ class ConfigurationTest extends DbalTestCase
/**
* Tests that the default auto-commit mode for connections can be retrieved from the configuration container.
*
* @group DBAL-81
*/
public function testReturnsDefaultConnectionAutoCommitMode(): void
{
......@@ -34,8 +32,6 @@ class ConfigurationTest extends DbalTestCase
/**
* Tests that the default auto-commit mode for connections can be set in the configuration container.
*
* @group DBAL-81
*/
public function testSetsDefaultConnectionAutoCommitMode(): void
{
......
......@@ -210,8 +210,6 @@ class ConnectionTest extends DbalTestCase
/**
* Pretty dumb test, however we want to check that the EchoSQLLogger correctly implements the interface.
*
* @group DBAL-11
*/
public function testEchoSQLLogger(): void
{
......@@ -222,8 +220,6 @@ class ConnectionTest extends DbalTestCase
/**
* Pretty dumb test, however we want to check that the DebugStack correctly implements the interface.
*
* @group DBAL-11
*/
public function testDebugSQLStack(): void
{
......@@ -232,17 +228,11 @@ class ConnectionTest extends DbalTestCase
self::assertSame($logger, $this->connection->getConfiguration()->getSQLLogger());
}
/**
* @group DBAL-81
*/
public function testIsAutoCommit(): void
{
self::assertTrue($this->connection->isAutoCommit());
}
/**
* @group DBAL-81
*/
public function testSetAutoCommit(): void
{
$this->connection->setAutoCommit(false);
......@@ -251,9 +241,6 @@ class ConnectionTest extends DbalTestCase
self::assertFalse($this->connection->isAutoCommit());
}
/**
* @group DBAL-81
*/
public function testConnectStartsTransactionInNoAutoCommitMode(): void
{
$driverMock = $this->createMock(Driver::class);
......@@ -273,9 +260,6 @@ class ConnectionTest extends DbalTestCase
self::assertTrue($conn->isTransactionActive());
}
/**
* @group DBAL-81
*/
public function testCommitStartsTransactionInNoAutoCommitMode(): void
{
$driverMock = $this->createMock(Driver::class);
......@@ -323,9 +307,6 @@ class ConnectionTest extends DbalTestCase
return [[true], [false]];
}
/**
* @group DBAL-81
*/
public function testRollBackStartsTransactionInNoAutoCommitMode(): void
{
$driverMock = $this->createMock(Driver::class);
......@@ -343,9 +324,6 @@ class ConnectionTest extends DbalTestCase
self::assertTrue($conn->isTransactionActive());
}
/**
* @group DBAL-81
*/
public function testSwitchingAutoCommitModeCommitsAllCurrentTransactions(): void
{
$driverMock = $this->createMock(Driver::class);
......@@ -381,9 +359,6 @@ class ConnectionTest extends DbalTestCase
$conn->insert('footable', []);
}
/**
* @group DBAL-2511
*/
public function testUpdateWithDifferentColumnsInDataAndIdentifiers(): void
{
$conn = $this->getExecuteUpdateMockConnection();
......@@ -425,9 +400,6 @@ class ConnectionTest extends DbalTestCase
);
}
/**
* @group DBAL-2511
*/
public function testUpdateWithSameColumnInDataAndIdentifiers(): void
{
$conn = $this->getExecuteUpdateMockConnection();
......@@ -468,9 +440,6 @@ class ConnectionTest extends DbalTestCase
);
}
/**
* @group DBAL-2688
*/
public function testUpdateWithIsNull(): void
{
$conn = $this->getExecuteUpdateMockConnection();
......@@ -510,9 +479,6 @@ class ConnectionTest extends DbalTestCase
);
}
/**
* @group DBAL-2688
*/
public function testDeleteWithIsNull(): void
{
$conn = $this->getExecuteUpdateMockConnection();
......@@ -755,9 +721,6 @@ class ConnectionTest extends DbalTestCase
call_user_func_array([$conn, $method], $params);
}
/**
* @group DBAL-1127
*/
public function testPlatformDetectionIsTriggerOnlyOnceOnRetrievingPlatform(): void
{
$driverMock = $this->createMock(FutureVersionAwarePlatformDriver::class);
......@@ -824,9 +787,6 @@ class ConnectionTest extends DbalTestCase
);
}
/**
* @group #2821
*/
public function testShouldNotPassPlatformInParamsToTheQueryCacheProfileInExecuteCacheQuery(): void
{
$resultCacheDriverMock = $this->createMock(Cache::class);
......@@ -861,9 +821,6 @@ class ConnectionTest extends DbalTestCase
(new Connection($connectionParams, $driver))->executeCacheQuery($query, [], [], $queryCacheProfileMock);
}
/**
* @group #2821
*/
public function testThrowsExceptionWhenInValidPlatformSpecified(): void
{
$connectionParams = $this->params;
......@@ -876,9 +833,6 @@ class ConnectionTest extends DbalTestCase
new Connection($connectionParams, $driver);
}
/**
* @group DBAL-990
*/
public function testRethrowsOriginalExceptionOnDeterminingPlatformWhenConnectingToNonExistentDatabase(): void
{
$driverMock = $this->createMock(FutureVersionAwarePlatformDriver::class);
......@@ -900,9 +854,6 @@ class ConnectionTest extends DbalTestCase
$connection->getDatabasePlatform();
}
/**
* @group #3194
*/
public function testExecuteCacheQueryStripsPlatformFromConnectionParamsBeforeGeneratingCacheKeys(): void
{
$driver = $this->createMock(Driver::class);
......
......@@ -57,9 +57,6 @@ class DBALExceptionTest extends DbalTestCase
);
}
/**
* @group #2821
*/
public function testInvalidPlatformTypeObject(): void
{
$exception = DBALException::invalidPlatformType(new stdClass());
......@@ -70,9 +67,6 @@ class DBALExceptionTest extends DbalTestCase
);
}
/**
* @group #2821
*/
public function testInvalidPlatformTypeScalar(): void
{
$exception = DBALException::invalidPlatformType('some string');
......
......@@ -17,9 +17,6 @@ class DriverTest extends AbstractPostgreSQLDriverTest
self::assertSame('pdo_pgsql', $this->driver->getName());
}
/**
* @group DBAL-920
*/
public function testConnectionDisablesPreparesOnPhp56(): void
{
$this->skipWhenNotUsingPdoPgsql();
......@@ -34,9 +31,6 @@ class DriverTest extends AbstractPostgreSQLDriverTest
}
}
/**
* @group DBAL-920
*/
public function testConnectionDoesNotDisablePreparesOnPhp56WhenAttributeDefined(): void
{
$this->skipWhenNotUsingPdoPgsql();
......@@ -53,9 +47,6 @@ class DriverTest extends AbstractPostgreSQLDriverTest
}
}
/**
* @group DBAL-920
*/
public function testConnectionDisablePreparesOnPhp56WhenDisablePreparesIsExplicitlyDefined(): void
{
$this->skipWhenNotUsingPdoPgsql();
......
......@@ -47,7 +47,6 @@ class DriverManagerTest extends DbalTestCase
}
/**
* @group DBAL-32
* @requires extension pdo_sqlite
*/
public function testPdoInstanceSetErrorMode(): void
......
......@@ -26,7 +26,6 @@ class OracleSessionInitTest extends DbalTestCase
}
/**
* @group DBAL-1824
* @dataProvider getPostConnectWithSessionParameterValuesData
*/
public function testPostConnectQuotesSessionParameterValues(string $name, string $value): void
......
......@@ -8,9 +8,6 @@ use Doctrine\DBAL\Event\Listeners\SQLSessionInit;
use Doctrine\DBAL\Events;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-169
*/
class SQLSessionInitTest extends DbalTestCase
{
public function testPostConnect(): void
......
......@@ -14,9 +14,6 @@ use function fopen;
use function str_repeat;
use function stream_get_contents;
/**
* @group DBAL-6
*/
class BlobTest extends DbalFunctionalTestCase
{
protected function setUp(): void
......
......@@ -314,9 +314,6 @@ class ConnectionTest extends DbalFunctionalTestCase
self::assertTrue($this->connection->isConnected());
}
/**
* @group DBAL-1025
*/
public function testConnectWithoutExplicitDatabaseName(): void
{
if (in_array($this->connection->getDatabasePlatform()->getName(), ['oracle', 'db2'], true)) {
......@@ -337,9 +334,6 @@ class ConnectionTest extends DbalFunctionalTestCase
$connection->close();
}
/**
* @group DBAL-990
*/
public function testDeterminesDatabasePlatformWhenConnectingToNonExistentDatabase(): void
{
if (in_array($this->connection->getDatabasePlatform()->getName(), ['oracle', 'db2'], true)) {
......
......@@ -112,9 +112,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals(['test_int' => 1, 'test_string' => 'foo'], $rows[0]);
}
/**
* @group DBAL-228
*/
public function testPrepareWithFetchAllBoth(): void
{
$paramInt = 1;
......@@ -218,9 +215,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals('foo', $row['test_string']);
}
/**
* @group DBAL-209
*/
public function testFetchAllWithTypes(): void
{
$datetimeString = '2010-01-01 10:10:10';
......@@ -243,9 +237,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertStringStartsWith($datetimeString, $row['test_datetime']);
}
/**
* @group DBAL-209
*/
public function testFetchAllWithMissingTypes(): void
{
if (
......@@ -433,9 +424,6 @@ class DataAccessTest extends DbalFunctionalTestCase
$this->connection->fetchColumn($sql, [1, $datetime], 1);
}
/**
* @group DDC-697
*/
public function testExecuteQueryBindDateTimeType(): void
{
$sql = 'SELECT count(*) AS c FROM fetch_table WHERE test_datetime = ?';
......@@ -448,9 +436,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals(1, $stmt->fetchColumn());
}
/**
* @group DDC-697
*/
public function testExecuteUpdateBindDateTimeType(): void
{
$datetime = new DateTime('2010-02-02 20:20:20');
......@@ -474,9 +459,6 @@ class DataAccessTest extends DbalFunctionalTestCase
)->fetchColumn());
}
/**
* @group DDC-697
*/
public function testPrepareQueryBindValueDateTimeType(): void
{
$sql = 'SELECT count(*) AS c FROM fetch_table WHERE test_datetime = ?';
......@@ -487,9 +469,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals(1, $stmt->fetchColumn());
}
/**
* @group DBAL-78
*/
public function testNativeArrayListSupport(): void
{
for ($i = 100; $i < 110; $i++) {
......@@ -579,9 +558,6 @@ class DataAccessTest extends DbalFunctionalTestCase
];
}
/**
* @group DDC-1014
*/
public function testDateArithmetics(): void
{
$p = $this->connection->getDatabasePlatform();
......@@ -690,9 +666,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertCount(0, $rows, 'no result should be returned, otherwise SQL injection is possible');
}
/**
* @group DDC-1213
*/
public function testBitComparisonExpressionSupport(): void
{
$this->connection->exec('DELETE FROM fetch_table');
......@@ -752,9 +725,6 @@ class DataAccessTest extends DbalFunctionalTestCase
}), 'should be no non-numerical elements in the result.');
}
/**
* @group DBAL-1091
*/
public function testFetchAllStyleObject(): void
{
$this->setupFixture();
......@@ -783,9 +753,6 @@ class DataAccessTest extends DbalFunctionalTestCase
);
}
/**
* @group DBAL-196
*/
public function testFetchAllSupportFetchClass(): void
{
$this->beforeFetchClassTest();
......@@ -808,9 +775,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertStringStartsWith('2010-01-01 10:10:10', $results[0]->test_datetime);
}
/**
* @group DBAL-241
*/
public function testFetchAllStyleColumn(): void
{
$sql = 'DELETE FROM fetch_table';
......@@ -825,9 +789,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals([1, 10], $rows);
}
/**
* @group DBAL-214
*/
public function testSetFetchModeClassFetchAll(): void
{
$this->beforeFetchClassTest();
......@@ -847,9 +808,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertStringStartsWith('2010-01-01 10:10:10', $results[0]->test_datetime);
}
/**
* @group DBAL-214
*/
public function testSetFetchModeClassFetch(): void
{
$this->beforeFetchClassTest();
......@@ -872,9 +830,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertStringStartsWith('2010-01-01 10:10:10', $results[0]->test_datetime);
}
/**
* @group DBAL-257
*/
public function testEmptyFetchColumnReturnsFalse(): void
{
$this->connection->beginTransaction();
......@@ -884,9 +839,6 @@ class DataAccessTest extends DbalFunctionalTestCase
$this->connection->rollBack();
}
/**
* @group DBAL-339
*/
public function testSetFetchModeOnDbalStatement(): void
{
$sql = 'SELECT test_int, test_string FROM fetch_table WHERE test_int = ? AND test_string = ?';
......@@ -900,9 +852,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertFalse($stmt->fetch());
}
/**
* @group DBAL-435
*/
public function testEmptyParameters(): void
{
$sql = 'SELECT * FROM fetch_table WHERE test_int IN (?)';
......@@ -912,9 +861,6 @@ class DataAccessTest extends DbalFunctionalTestCase
self::assertEquals([], $rows);
}
/**
* @group DBAL-1028
*/
public function testFetchColumnNullValue(): void
{
$this->connection->executeUpdate(
......@@ -927,9 +873,6 @@ class DataAccessTest extends DbalFunctionalTestCase
);
}
/**
* @group DBAL-1028
*/
public function testFetchColumnNoResult(): void
{
self::assertFalse(
......
......@@ -23,9 +23,6 @@ abstract class AbstractDriverTest extends DbalFunctionalTestCase
$this->driver = $this->createDriver();
}
/**
* @group DBAL-1215
*/
public function testConnectsWithoutDatabaseNameParameter(): void
{
$params = $this->connection->getParams();
......@@ -39,9 +36,6 @@ abstract class AbstractDriverTest extends DbalFunctionalTestCase
self::assertInstanceOf(DriverConnection::class, $connection);
}
/**
* @group DBAL-1215
*/
public function testReturnsDatabaseNameWithoutDatabaseNameParameter(): void
{
$params = $this->connection->getParams();
......
......@@ -26,9 +26,6 @@ class OCI8ConnectionTest extends DbalFunctionalTestCase
$this->driverConnection = $this->connection->getWrappedConnection();
}
/**
* @group DBAL-2595
*/
public function testLastInsertIdAcceptsFqn(): void
{
$platform = $this->connection->getDatabasePlatform();
......
......@@ -57,9 +57,6 @@ class PDOConnectionTest extends DbalFunctionalTestCase
new PDOConnection('foo');
}
/**
* @group DBAL-1022
*/
public function testThrowsWrappedExceptionOnExec(): void
{
$this->expectException(PDOException::class);
......
......@@ -68,9 +68,6 @@ class DriverTest extends AbstractDriverTest
];
}
/**
* @group DBAL-1146
*/
public function testConnectsWithApplicationNameParameter(): void
{
$parameters = $this->connection->getParams();
......
......@@ -24,8 +24,6 @@ class PDOPgsqlConnectionTest extends DbalFunctionalTestCase
}
/**
* @group DBAL-1183
* @group DBAL-1189
* @dataProvider getValidCharsets
*/
public function testConnectsWithValidCharsetOption(string $charset): void
......
......@@ -17,9 +17,6 @@ use function substr;
use const CASE_LOWER;
/**
* @group DBAL-20
*/
class MasterSlaveConnectionTest extends DbalFunctionalTestCase
{
protected function setUp(): void
......@@ -138,9 +135,6 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase
self::assertTrue($conn->isConnectedToMaster());
}
/**
* @group DBAL-335
*/
public function testKeepSlaveBeginTransactionStaysOnMaster(): void
{
$conn = $this->createMasterSlaveConnection($keepSlave = true);
......@@ -159,9 +153,6 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase
self::assertFalse($conn->isConnectedToMaster());
}
/**
* @group DBAL-335
*/
public function testKeepSlaveInsertStaysOnMaster(): void
{
$conn = $this->createMasterSlaveConnection($keepSlave = true);
......
......@@ -13,9 +13,6 @@ use function array_change_key_case;
use const CASE_LOWER;
/**
* @group DDC-1372
*/
class NamedParametersTest extends DbalFunctionalTestCase
{
/**
......
......@@ -13,9 +13,6 @@ use Throwable;
use function strlen;
/**
* @group DBAL-56
*/
class PortabilityTest extends DbalFunctionalTestCase
{
/** @var Connection */
......
......@@ -18,9 +18,6 @@ use function is_array;
use const CASE_LOWER;
/**
* @group DDC-217
*/
class ResultCacheTest extends DbalFunctionalTestCase
{
/** @var list<array{test_int: int, test_string: string}> */
......
......@@ -7,9 +7,6 @@ use Doctrine\DBAL\Types\BooleanType;
class Db2SchemaManagerTest extends SchemaManagerFunctionalTestCase
{
/**
* @group DBAL-939
*/
public function testGetBooleanColumn(): void
{
$table = new Table('boolean_column_test');
......
......@@ -120,9 +120,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertSame([128], $indexes['text_index']->getOption('lengths'));
}
/**
* @group DBAL-400
*/
public function testAlterTableAddPrimaryKey(): void
{
$table = new Table('alter_table_add_pk');
......@@ -146,9 +143,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertTrue($table->hasPrimaryKey());
}
/**
* @group DBAL-464
*/
public function testDropPrimaryKeyWithAutoincrementColumn(): void
{
$table = new Table('drop_primary_key');
......@@ -172,9 +166,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertFalse($table->getColumn('id')->getAutoincrement());
}
/**
* @group DBAL-789
*/
public function testDoesNotPropagateDefaultValuesForUnsupportedColumnTypes(): void
{
if ($this->schemaManager->getDatabasePlatform() instanceof MariaDb1027Platform) {
......@@ -288,9 +279,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertInstanceOf(BlobType::class, $columns['baz']->getType());
}
/**
* @group DBAL-843
*/
public function testListLobTypeColumns(): void
{
$tableName = 'lob_type_columns';
......@@ -347,9 +335,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
);
}
/**
* @group DBAL-423
*/
public function testDiffListGuidTableColumn(): void
{
$offlineTable = new Table('list_guid_table_column');
......@@ -367,9 +352,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
);
}
/**
* @group DBAL-1082
*/
public function testListDecimalTypeColumns(): void
{
$tableName = 'test_list_decimal_columns';
......@@ -388,9 +370,6 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertTrue($columns['col_unsigned']->getUnsigned());
}
/**
* @group DBAL-1082
*/
public function testListFloatTypeColumns(): void
{
$tableName = 'test_list_float_columns';
......
......@@ -67,10 +67,6 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertFalse($table->getColumn('column_binary')->getFixed());
}
/**
* @group DBAL-472
* @group DBAL-1001
*/
public function testAlterTableColumnNotNull(): void
{
$comparator = new Schema\Comparator();
......@@ -116,9 +112,6 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertContains('c##test_create_database', $databases);
}
/**
* @group DBAL-831
*/
public function testListTableDetailsWithDifferentIdentifierQuotingRequirements(): void
{
$primaryTableName = '"Primary_Table"';
......@@ -240,9 +233,6 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertCount(7, $columns);
}
/**
* @group DBAL-1234
*/
public function testListTableIndexesPrimaryKeyConstraintNameDiffersFromIndexName(): void
{
$table = new Table('list_table_indexes_pk_id_test');
......@@ -263,9 +253,6 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertTrue($tableIndexes['primary']->isPrimary());
}
/**
* @group DBAL-2555
*/
public function testListTableDateTypeColumns(): void
{
$table = new Table('tbl_date');
......
......@@ -36,9 +36,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
$this->connection->getConfiguration()->setSchemaAssetsFilter(null);
}
/**
* @group DBAL-177
*/
public function testGetSearchPath(): void
{
$params = $this->connection->getParams();
......@@ -47,9 +44,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertEquals([$params['user'], 'public'], $paths);
}
/**
* @group DBAL-244
*/
public function testGetSchemaNames(): void
{
$names = $this->schemaManager->getSchemaNames();
......@@ -59,9 +53,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertContains('public', $names, 'The public schema should be found.');
}
/**
* @group DBAL-21
*/
public function testSupportDomainTypeFallback(): void
{
$createDomainTypeSQL = 'CREATE DOMAIN MyMoney AS DECIMAL(18,2)';
......@@ -80,9 +71,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertInstanceOf(MoneyType::class, $table->getColumn('value')->getType());
}
/**
* @group DBAL-37
*/
public function testDetectsAutoIncrement(): void
{
$autoincTable = new Table('autoinc_table');
......@@ -94,9 +82,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertTrue($autoincTable->getColumn('id')->getAutoincrement());
}
/**
* @group DBAL-37
*/
public function testAlterTableAutoIncrementAdd(): void
{
$tableFrom = new Table('autoinc_table_add');
......@@ -123,9 +108,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertTrue($tableFinal->getColumn('id')->getAutoincrement());
}
/**
* @group DBAL-37
*/
public function testAlterTableAutoIncrementDrop(): void
{
$tableFrom = new Table('autoinc_table_drop');
......@@ -148,9 +130,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertFalse($tableFinal->getColumn('id')->getAutoincrement());
}
/**
* @group DBAL-75
*/
public function testTableWithSchema(): void
{
$this->connection->exec('CREATE SCHEMA nested');
......@@ -182,10 +161,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertEquals('nested.schemarelated', $relatedFk->getForeignTableName());
}
/**
* @group DBAL-91
* @group DBAL-88
*/
public function testReturnQuotedAssets(): void
{
$sql = 'create table dbal91_something ( id integer CONSTRAINT id_something PRIMARY KEY NOT NULL ,"table" integer );';
......@@ -205,9 +180,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
);
}
/**
* @group DBAL-204
*/
public function testFilterSchemaExpression(): void
{
$testTable = new Table('dbal204_test_prefix');
......@@ -267,9 +239,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
}
}
/**
* @group DBAL-511
*/
public function testDefaultValueCharacterVarying(): void
{
$testTable = new Table('dbal511_default');
......@@ -284,9 +253,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertEquals('foo', $databaseTable->getColumn('def')->getDefault());
}
/**
* @group DDC-2843
*/
public function testBooleanDefault(): void
{
$table = new Table('ddc2843_bools');
......@@ -380,9 +346,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertFalse($foundTable, 'View "list_tables_excludes_views_test_view" must not be found in table list');
}
/**
* @group DBAL-1033
*/
public function testPartialIndexes(): void
{
$offlineTable = new Schema\Table('person');
......@@ -435,9 +398,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
];
}
/**
* @group DBAL-2427
*/
public function testListNegativeColumnDefaultValue(): void
{
$table = new Schema\Table('test_default_negative');
......@@ -473,7 +433,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
/**
* @dataProvider serialTypes
* @group 2906
*/
public function testAutoIncrementCreatesSerialDataTypesWithoutADefaultValue(string $type): void
{
......@@ -491,7 +450,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
/**
* @dataProvider serialTypes
* @group 2906
*/
public function testAutoIncrementCreatesSerialDataTypesWithoutADefaultValueEvenWhenDefaultIsSet(string $type): void
{
......@@ -508,7 +466,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
}
/**
* @group 2916
* @dataProvider autoIncrementTypeMigrations
*/
public function testAlterTableAutoIncrementIntToBigInt(string $from, string $to, string $expected): void
......
......@@ -17,9 +17,6 @@ class SQLServerSchemaManagerTest extends SchemaManagerFunctionalTestCase
return 'mssql';
}
/**
* @group DBAL-255
*/
public function testDropColumnConstraints(): void
{
$table = new Table('sqlsrv_drop_column');
......@@ -155,9 +152,6 @@ class SQLServerSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertEquals(666, $columns['df_integer']->getDefault());
}
/**
* @group DBAL-543
*/
public function testColumnComments(): void
{
$table = new Table('sqlsrv_column_comment');
......
......@@ -92,9 +92,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
}
}
/**
* @group DBAL-1220
*/
public function testDropsDatabaseWithActiveConnections(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsCreateDropDatabase()) {
......@@ -129,9 +126,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertNotContains('test_drop_database', $this->schemaManager->listDatabases());
}
/**
* @group DBAL-195
*/
public function testDropAndCreateSequence(): void
{
$platform = $this->connection->getDatabasePlatform();
......@@ -210,9 +204,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertContains('test_create_database', $databases);
}
/**
* @group DBAL-1058
*/
public function testListNamespaceNames(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsSchemas()) {
......@@ -344,9 +335,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertIsArray($columns['baz3']->getPlatformOptions());
}
/**
* @group DBAL-1078
*/
public function testListTableColumnsWithFixedStringColumn(): void
{
$tableName = 'test_list_table_fixed_string';
......@@ -697,9 +685,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertTrue($inferredTable->getColumn('id')->getAutoincrement());
}
/**
* @group DBAL-792
*/
public function testAutoincrementDetectionMulticolumns(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsIdentityColumns()) {
......@@ -719,9 +704,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertFalse($inferredTable->getColumn('id')->getAutoincrement());
}
/**
* @group DDC-887
*/
public function testUpdateSchemaWithForeignKeyRenaming(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsForeignKeyConstraints()) {
......@@ -764,9 +746,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertSame(['rename_fk_id'], array_map('strtolower', current($foreignKeys)->getColumns()));
}
/**
* @group DBAL-1062
*/
public function testRenameIndexUsedInForeignKeyConstraint(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsForeignKeyConstraints()) {
......@@ -805,9 +784,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertTrue($foreignTable->hasForeignKey('fk_constraint'));
}
/**
* @group DBAL-42
*/
public function testGetColumnComment(): void
{
if (
......@@ -851,9 +827,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertEmpty($columns['id']->getComment());
}
/**
* @group DBAL-42
*/
public function testAutomaticallyAppendCommentOnMarkedColumns(): void
{
if (
......@@ -881,9 +854,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertInstanceOf(ArrayType::class, $columns['arr']->getType(), 'The Doctrine2 should be detected from comment hint.');
}
/**
* @group DBAL-1228
*/
public function testCommentHintOnDateIntervalTypeColumn(): void
{
if (
......@@ -908,9 +878,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertInstanceOf(DateIntervalType::class, $columns['date_interval']->getType(), 'The Doctrine2 should be detected from comment hint.');
}
/**
* @group DBAL-825
*/
public function testChangeColumnsTypeWithDefaultValue(): void
{
$tableName = 'column_def_change_type';
......@@ -948,9 +915,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertEquals('foo', $columns['col_string']->getDefault());
}
/**
* @group DBAL-197
*/
public function testListTableWithBlob(): void
{
$table = new Table('test_blob_table');
......@@ -1053,9 +1017,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertEquals(['id', 'other_id'], array_map('strtolower', $fkeys[0]->getForeignColumns()));
}
/**
* @group DBAL-44
*/
public function testColumnDefaultLifecycle(): void
{
$table = new Table('col_def_lifecycle');
......@@ -1211,7 +1172,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
}
/**
* @group DBAL-1009
* @dataProvider getAlterColumnComment
*/
public function testAlterColumnComment(
......@@ -1284,9 +1244,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
];
}
/**
* @group DBAL-1095
*/
public function testDoesNotListIndexesImplicitlyCreatedByForeignKeys(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsForeignKeyConstraints()) {
......@@ -1326,10 +1283,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
$this->schemaManager->dropTable('json_array_test');
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldReturnFalseWhenLegacyJsonArrayColumnHasComment(): void
{
$table = new Table('json_array_test');
......@@ -1343,10 +1296,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertFalse($tableDiff);
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldModifyOnlyTheCommentWhenUpdatingFromJsonArrayTypeOnLegacyPlatforms(): void
{
if ($this->schemaManager->getDatabasePlatform()->hasNativeJsonType()) {
......@@ -1371,10 +1320,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertSame(['comment'], $changedColumn->changedProperties);
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldAddCommentToLegacyJsonArrayTypeThatDoesNotHaveIt(): void
{
if (! $this->schemaManager->getDatabasePlatform()->hasNativeJsonType()) {
......@@ -1393,10 +1338,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertSame(['comment'], $tableDiff->changedColumns['parameters']->changedProperties);
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldReturnAllChangesWhenUsingLegacyJsonArrayType(): void
{
if (! $this->schemaManager->getDatabasePlatform()->hasNativeJsonType()) {
......@@ -1415,10 +1356,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertSame(['notnull', 'comment'], $tableDiff->changedColumns['parameters']->changedProperties);
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldReturnAllChangesWhenUsingLegacyJsonArrayTypeEvenWhenPlatformHasJsonSupport(): void
{
if (! $this->schemaManager->getDatabasePlatform()->hasNativeJsonType()) {
......@@ -1437,10 +1374,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertSame(['notnull', 'comment'], $tableDiff->changedColumns['parameters']->changedProperties);
}
/**
* @group 2782
* @group 6654
*/
public function testComparatorShouldNotAddCommentToJsonTypeSinceItIsTheDefaultNow(): void
{
if (! $this->schemaManager->getDatabasePlatform()->hasNativeJsonType()) {
......@@ -1460,7 +1393,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
/**
* @dataProvider commentsProvider
* @group 2596
*/
public function testExtractDoctrineTypeFromComment(string $comment, string $expected, string $currentType): void
{
......@@ -1522,9 +1454,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertEquals($sequence2InitialValue, $actualSequence2->getInitialValue());
}
/**
* @group #3086
*/
public function testComparisonWithAutoDetectedSequenceDefinition(): void
{
if (! $this->schemaManager->getDatabasePlatform()->supportsSequences()) {
......@@ -1555,9 +1484,6 @@ abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
self::assertFalse($tableDiff);
}
/**
* @group DBAL-2921
*/
public function testPrimaryKeyAutoIncrement(): void
{
$table = new Table('test_pk_auto_increment');
......
......@@ -34,9 +34,6 @@ class SqliteSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertFileNotExists($path);
}
/**
* @group DBAL-1220
*/
public function testDropsDatabaseWithActiveConnections(): void
{
$this->schemaManager->dropAndCreateDatabase('test_drop_database');
......@@ -156,9 +153,6 @@ EOS
self::assertFalse($table->getColumn('column_binary')->getFixed());
}
/**
* @group DBAL-1779
*/
public function testListTableColumnsWithWhitespacesInTypeDeclarations(): void
{
$sql = <<<SQL
......@@ -186,7 +180,6 @@ SQL;
/**
* @dataProvider getDiffListIntegerAutoincrementTableColumnsData
* @group DBAL-924
*/
public function testDiffListIntegerAutoincrementTableColumns(string $integerType, bool $unsigned, bool $expectedComparatorDiff): void
{
......@@ -224,9 +217,6 @@ SQL;
];
}
/**
* @group DBAL-2921
*/
public function testPrimaryKeyNoAutoIncrement(): void
{
$table = new Schema\Table('test_pk_auto_increment');
......
......@@ -243,9 +243,6 @@ EOF
self::assertTrue($stmt->closeCursor());
}
/**
* @group DBAL-2637
*/
public function testCloseCursorAfterCursorEnd(): void
{
$stmt = $this->connection->prepare('SELECT name FROM stmt_test');
......
......@@ -8,9 +8,6 @@ use Doctrine\DBAL\Schema\Schema;
use Doctrine\Tests\DbalFunctionalTestCase;
use Throwable;
/**
* @group DDC-450
*/
class TableGeneratorTest extends DbalFunctionalTestCase
{
/** @var TableGenerator */
......
......@@ -31,9 +31,6 @@ class TemporaryTableTest extends DbalFunctionalTestCase
parent::tearDown();
}
/**
* @group DDC-1337
*/
public function testDropTemporaryTableNotAutoCommitTransaction(): void
{
if (
......@@ -68,9 +65,6 @@ class TemporaryTableTest extends DbalFunctionalTestCase
self::assertEquals([], $rows, 'In an event of an error this result has one row, because of an implicit commit.');
}
/**
* @group DDC-1337
*/
public function testCreateTemporaryTableNotAutoCommitTransaction(): void
{
if (
......
......@@ -5,9 +5,6 @@ namespace Doctrine\Tests\DBAL\Functional\Ticket;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DbalFunctionalTestCase;
/**
* @group DBAL-168
*/
class DBAL168Test extends DbalFunctionalTestCase
{
public function testDomainsTable(): void
......
......@@ -5,9 +5,6 @@ namespace Doctrine\Tests\DBAL\Functional\Ticket;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DbalFunctionalTestCase;
/**
* @group DBAL-202
*/
class DBAL202Test extends DbalFunctionalTestCase
{
protected function setUp(): void
......
......@@ -7,9 +7,6 @@ use Doctrine\Tests\DbalFunctionalTestCase;
use function in_array;
use function preg_match;
/**
* @group DBAL-421
*/
class DBAL421Test extends DbalFunctionalTestCase
{
protected function setUp(): void
......
......@@ -9,9 +9,6 @@ use Doctrine\DBAL\Types\DecimalType;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
/**
* @group DBAL-461
*/
class DBAL461Test extends TestCase
{
public function testIssue(): void
......
......@@ -6,9 +6,6 @@ use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DbalFunctionalTestCase;
/**
* @group DBAL-510
*/
class DBAL510Test extends DbalFunctionalTestCase
{
protected function setUp(): void
......
......@@ -10,9 +10,6 @@ use PDO;
use function in_array;
/**
* @group DBAL-630
*/
class DBAL630Test extends DbalFunctionalTestCase
{
/** @var bool */
......
......@@ -6,9 +6,6 @@ use Doctrine\Tests\DbalFunctionalTestCase;
use function in_array;
/**
* @group DBAL-752
*/
class DBAL752Test extends DbalFunctionalTestCase
{
protected function setUp(): void
......
......@@ -35,9 +35,6 @@ class WriteTest extends DbalFunctionalTestCase
$this->connection->executeUpdate('DELETE FROM write_table');
}
/**
* @group DBAL-80
*/
public function testExecuteUpdateFirstTypeIsNull(): void
{
$sql = 'INSERT INTO write_table (test_string, test_int) VALUES (?, ?)';
......@@ -196,9 +193,6 @@ class WriteTest extends DbalFunctionalTestCase
self::assertFalse($this->lastInsertId());
}
/**
* @group DBAL-445
*/
public function testInsertWithKeyValueTypes(): void
{
$testString = new DateTime('2013-04-14 10:10:10');
......@@ -214,9 +208,6 @@ class WriteTest extends DbalFunctionalTestCase
self::assertEquals($testString->format($this->connection->getDatabasePlatform()->getDateTimeFormatString()), $data);
}
/**
* @group DBAL-445
*/
public function testUpdateWithKeyValueTypes(): void
{
$testString = new DateTime('2013-04-14 10:10:10');
......@@ -241,9 +232,6 @@ class WriteTest extends DbalFunctionalTestCase
self::assertEquals($testString->format($this->connection->getDatabasePlatform()->getDateTimeFormatString()), $data);
}
/**
* @group DBAL-445
*/
public function testDeleteWithKeyValueTypes(): void
{
$val = new DateTime('2013-04-14 10:10:10');
......@@ -300,9 +288,6 @@ class WriteTest extends DbalFunctionalTestCase
self::assertGreaterThan($firstId, $secondId);
}
/**
* @group DBAL-2688
*/
public function testUpdateWhereIsNull(): void
{
$this->connection->insert(
......
......@@ -158,9 +158,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
return 'ALTER TABLE test ADD FOREIGN KEY (fk_name_id) REFERENCES other_table (id)';
}
/**
* @group DBAL-126
*/
public function testUniquePrimaryKey(): void
{
$keyTable = new Table('foo');
......@@ -196,9 +193,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
self::assertEquals('SELECT * FROM user LIMIT 10', $sql);
}
/**
* @group DDC-118
*/
public function testGetDateTimeTypeDeclarationSql(): void
{
self::assertEquals('DATETIME', $this->platform->getDateTimeTypeDeclarationSQL(['version' => false]));
......@@ -230,9 +224,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
return ["CREATE TABLE test (id INT NOT NULL, data LONGTEXT NOT NULL COMMENT '(DC2Type:array)', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB"];
}
/**
* @group DBAL-237
*/
public function testChangeIndexWithForeignKeys(): void
{
$index = new Index('idx', ['col'], false);
......@@ -336,9 +327,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
self::assertEquals('LONGBLOB', $this->platform->getBlobTypeDeclarationSQL([]));
}
/**
* @group DBAL-400
*/
public function testAlterTableAddPrimaryKey(): void
{
$table = new Table('alter_table_add_pk');
......@@ -358,9 +346,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-1132
*/
public function testAlterPrimaryKeyWithAutoincrementColumn(): void
{
$table = new Table('alter_primary_key');
......@@ -384,9 +369,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-464
*/
public function testDropPrimaryKeyWithAutoincrementColumn(): void
{
$table = new Table('drop_primary_key');
......@@ -409,9 +391,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2302
*/
public function testDropNonAutoincrementColumnFromCompositePrimaryKeyWithAutoincrementColumn(): void
{
$table = new Table('tbl');
......@@ -436,9 +415,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2302
*/
public function testAddNonAutoincrementColumnToPrimaryKeyWithAutoincrementColumn(): void
{
$table = new Table('tbl');
......@@ -463,9 +439,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-586
*/
public function testAddAutoIncrementPrimaryKey(): void
{
$keyTable = new Table('foo');
......@@ -631,8 +604,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
/**
* @return string[]
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -644,8 +615,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
/**
* @return string[]
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -659,8 +628,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
/**
* @return string[]
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -672,8 +639,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
/**
* @return string[]
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -752,9 +717,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('CHAR(36)', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -861,9 +823,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -872,9 +831,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -883,9 +839,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListViewsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -894,9 +847,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -905,9 +855,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -916,9 +863,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -927,9 +871,6 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -204,7 +204,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @dataProvider serialTypes
* @group 2906
*/
public function testGenerateTableWithAutoincrementDoesNotSetDefault(string $type, string $definition): void
{
......@@ -220,7 +219,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @dataProvider serialTypes
* @group 2906
*/
public function testCreateTableWithAutoincrementAndNotNullAddsConstraint(string $type, string $definition): void
{
......@@ -236,7 +234,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @dataProvider serialTypes
* @group 2906
*/
public function testGetDefaultValueDeclarationSQLIgnoresTheDefaultKeyWhenTheFieldIsSerial(string $type): void
{
......@@ -434,7 +431,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @param string|bool $databaseValue
*
* @group DBAL-457
* @dataProvider pgBooleanProvider
*/
public function testConvertBooleanAsLiteralStrings(
......@@ -448,9 +444,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
self::assertEquals($preparedStatementValue, $platform->convertBooleans($databaseValue));
}
/**
* @group DBAL-457
*/
public function testConvertBooleanAsLiteralIntegers(): void
{
$platform = $this->createPlatform();
......@@ -466,7 +459,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @param string|bool $databaseValue
*
* @group DBAL-630
* @dataProvider pgBooleanProvider
*/
public function testConvertBooleanAsDatabaseValueStrings(
......@@ -480,9 +472,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
self::assertSame($integerValue, $platform->convertBooleansToDatabaseValue($booleanValue));
}
/**
* @group DBAL-630
*/
public function testConvertBooleanAsDatabaseValueIntegers(): void
{
$platform = $this->createPlatform();
......@@ -580,9 +569,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
self::assertEquals($expectedSql, $sql);
}
/**
* @group DBAL-365
*/
public function testDroppingConstraintsBeforeColumns(): void
{
$newTable = new Table('mytable');
......@@ -607,17 +593,11 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
self::assertEquals($expectedSql, $sql);
}
/**
* @group DBAL-563
*/
public function testUsesSequenceEmulatedIdentityColumns(): void
{
self::assertTrue($this->platform->usesSequenceEmulatedIdentityColumns());
}
/**
* @group DBAL-563
*/
public function testReturnsIdentitySequenceName(): void
{
self::assertSame('mytable_mycolumn_seq', $this->platform->getIdentitySequenceName('mytable', 'mycolumn'));
......@@ -625,7 +605,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* @dataProvider dataCreateSequenceWithCache
* @group DBAL-139
*/
public function testCreateSequenceWithCache(int $cacheSize, string $expectedSql): void
{
......@@ -706,8 +685,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -716,8 +693,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -791,8 +766,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -801,8 +774,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -825,9 +796,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('UUID', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -873,9 +841,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
];
}
/**
* @group DBAL-1004
*/
public function testAltersTableColumnCommentWithExplicitlyQuotedIdentifiers(): void
{
$table1 = new Table('"foo"', [new Column('"bar"', Type::getType('integer'))]);
......@@ -892,9 +857,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group 3158
*/
public function testAltersTableColumnCommentIfRequiredByType(): void
{
$table1 = new Table('"foo"', [new Column('"bar"', Type::getType('datetime'))]);
......@@ -946,18 +908,12 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
return ['ALTER INDEX idx_foo RENAME TO idx_foo_renamed'];
}
/**
* @group DBAL-1142
*/
public function testInitializesTsvectorTypeMapping(): void
{
self::assertTrue($this->platform->hasDoctrineTypeMappingFor('tsvector'));
self::assertEquals('text', $this->platform->getDoctrineTypeMapping('tsvector'));
}
/**
* @group DBAL-1220
*/
public function testReturnsDisallowDatabaseConnectionsSQL(): void
{
self::assertSame(
......@@ -966,9 +922,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-1220
*/
public function testReturnsCloseActiveDatabaseConnectionsSQL(): void
{
self::assertSame(
......@@ -977,9 +930,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -988,9 +938,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -999,9 +946,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableConstraintsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1010,9 +954,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1021,9 +962,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1032,9 +970,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1043,9 +978,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1054,9 +986,6 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInCloseActiveDatabaseConnectionsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -454,8 +454,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -464,8 +462,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -503,8 +499,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -513,8 +507,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -524,9 +516,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('CHAR(36)', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -573,7 +562,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
}
/**
* @group DBAL-944
* @dataProvider getGeneratesAlterColumnSQL
*/
public function testGeneratesAlterColumnSQL(string $changedProperty, Column $column, ?string $expectedSQLClause = null): void
......@@ -701,9 +689,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
return ['RENAME INDEX idx_foo TO idx_foo_renamed'];
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -712,9 +697,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -723,9 +705,6 @@ class DB2PlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -31,8 +31,6 @@ class MySQL57PlatformTest extends AbstractMySQLPlatformTestCase
/**
* @return string[]
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -41,8 +39,6 @@ class MySQL57PlatformTest extends AbstractMySQLPlatformTestCase
/**
* @return string[]
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -54,8 +50,6 @@ class MySQL57PlatformTest extends AbstractMySQLPlatformTestCase
/**
* @return string[]
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -64,8 +58,6 @@ class MySQL57PlatformTest extends AbstractMySQLPlatformTestCase
/**
* @return string[]
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......
......@@ -243,7 +243,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* @param mixed[] $options
*
* @group DBAL-1097
* @dataProvider getGeneratesAdvancedForeignKeyOptionsSQLData
*/
public function testGeneratesAdvancedForeignKeyOptionsSQL(array $options, string $expectedSql): void
......@@ -451,10 +450,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-472
* @group DBAL-1001
*/
public function testAlterTableNotNULL(): void
{
$tableDiff = new TableDiff('mytable');
......@@ -490,9 +485,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
self::assertEquals($expectedSql, $this->platform->getAlterTableSQL($tableDiff));
}
/**
* @group DBAL-2555
*/
public function testInitializesDoctrineTypeMappings(): void
{
self::assertTrue($this->platform->hasDoctrineTypeMappingFor('long raw'));
......@@ -544,18 +536,11 @@ class OraclePlatformTest extends AbstractPlatformTestCase
self::assertEmpty($this->platform->getAlterTableSQL($comparator->diffTable($table1, $table2)));
}
/**
* @group DBAL-563
*/
public function testUsesSequenceEmulatedIdentityColumns(): void
{
self::assertTrue($this->platform->usesSequenceEmulatedIdentityColumns());
}
/**
* @group DBAL-563
* @group DBAL-831
*/
public function testReturnsIdentitySequenceName(): void
{
self::assertSame('MYTABLE_SEQ', $this->platform->getIdentitySequenceName('mytable', 'mycolumn'));
......@@ -566,7 +551,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* @dataProvider dataCreateSequenceWithCache
* @group DBAL-139
*/
public function testCreateSequenceWithCache(int $cacheSize, string $expectedSql): void
{
......@@ -588,8 +572,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -598,8 +580,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -637,8 +617,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -647,8 +625,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -663,9 +639,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
return 'ALTER TABLE "table" DROP CONSTRAINT "select"';
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('CHAR(36)', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -683,7 +656,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
* @param string[] $expectedSql
*
* @dataProvider getReturnsDropAutoincrementSQL
* @group DBAL-831
*/
public function testReturnsDropAutoincrementSQL(string $table, array $expectedSql): void
{
......@@ -753,9 +725,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-1004
*/
public function testAltersTableColumnCommentWithExplicitlyQuotedIdentifiers(): void
{
$table1 = new Table('"foo"', [new Column('"bar"', Type::getType('integer'))]);
......@@ -814,7 +783,6 @@ EOD;
/**
* @dataProvider getReturnsGetListTableColumnsSQL
* @group DBAL-831
*/
public function testReturnsGetListTableColumnsSQL(?string $database, string $expectedSql): void
{
......@@ -912,9 +880,6 @@ SQL
return ['ALTER INDEX idx_foo RENAME TO idx_foo_renamed'];
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListSequencesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -923,9 +888,6 @@ SQL
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -934,9 +896,6 @@ SQL
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -945,9 +904,6 @@ SQL
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableConstraintsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -956,9 +912,6 @@ SQL
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -967,9 +920,6 @@ SQL
);
}
/**
* @group DBAL-2436
*/
public function testQuotesDatabaseNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -21,17 +21,11 @@ class PostgreSQL92PlatformTest extends AbstractPostgreSqlPlatformTestCase
return new PostgreSQL92Platform();
}
/**
* @group DBAL-553
*/
public function testHasNativeJsonType(): void
{
self::assertTrue($this->platform->hasNativeJsonType());
}
/**
* @group DBAL-553
*/
public function testReturnsJsonTypeDeclarationSQL(): void
{
self::assertSame('JSON', $this->platform->getJsonTypeDeclarationSQL([]));
......@@ -55,18 +49,12 @@ class PostgreSQL92PlatformTest extends AbstractPostgreSqlPlatformTestCase
);
}
/**
* @group DBAL-553
*/
public function testInitializesJsonTypeMapping(): void
{
self::assertTrue($this->platform->hasDoctrineTypeMappingFor('json'));
self::assertEquals(Types::JSON, $this->platform->getDoctrineTypeMapping('json'));
}
/**
* @group DBAL-1220
*/
public function testReturnsCloseActiveDatabaseConnectionsSQL(): void
{
self::assertSame(
......
......@@ -837,8 +837,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -847,8 +845,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -886,8 +882,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -896,8 +890,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-807
*/
protected function getQuotedAlterTableRenameIndexInSchemaSQL(): array
{
......@@ -907,9 +899,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('UNIQUEIDENTIFIER', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -951,9 +940,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-1004
*/
public function testAltersTableColumnCommentWithExplicitlyQuotedIdentifiers(): void
{
$table1 = new Table('"foo"', [new Column('"bar"', Type::getType('integer'))]);
......@@ -1021,9 +1007,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
return ['ALTER INDEX idx_foo ON mytable RENAME TO idx_foo_renamed'];
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1032,17 +1015,11 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableConstraintsSQL(): void
{
self::assertStringContainsStringIgnoringCase("'Foo''Bar\\'", $this->platform->getListTableConstraintsSQL("Foo'Bar\\"), '', true);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableConstraintsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1051,9 +1028,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1062,9 +1036,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1073,9 +1044,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -1084,9 +1052,6 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesSchemaNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -6,9 +6,6 @@ use Doctrine\DBAL\Platforms\SQLAzurePlatform;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-222
*/
class SQLAzurePlatformTest extends DbalTestCase
{
/** @var SQLAzurePlatform */
......
......@@ -120,9 +120,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
self::assertEquals('SELECT a.fromFoo, fromBar FROM foo ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 10 ROWS ONLY', $sql);
}
/**
* @group DBAL-927
*/
public function testModifyLimitQueryWithExtraLongQuery(): void
{
$query = 'SELECT table1.column1, table2.column2, table3.column3, table4.column4, table5.column5, table6.column6, table7.column7, table8.column8 FROM table1, table2, table3, table4, table5, table6, table7, table8 ';
......@@ -141,9 +138,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
self::assertEquals($expected, $sql);
}
/**
* @group DDC-2470
*/
public function testModifyLimitQueryWithOrderByClause(): void
{
$sql = 'SELECT m0_.NOMBRE AS NOMBRE0, m0_.FECHAINICIO AS FECHAINICIO1, m0_.FECHAFIN AS FECHAFIN2 FROM MEDICION m0_ WITH (NOLOCK) INNER JOIN ESTUDIO e1_ ON m0_.ESTUDIO_ID = e1_.ID INNER JOIN CLIENTE c2_ ON e1_.CLIENTE_ID = c2_.ID INNER JOIN USUARIO u3_ ON c2_.ID = u3_.CLIENTE_ID WHERE u3_.ID = ? ORDER BY m0_.FECHAINICIO DESC';
......@@ -153,9 +147,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
self::assertEquals($expected, $actual);
}
/**
* @group DBAL-713
*/
public function testModifyLimitQueryWithSubSelectInSelectList(): void
{
$sql = $this->platform->modifyLimitQuery(
......@@ -182,9 +173,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
);
}
/**
* @group DBAL-713
*/
public function testModifyLimitQueryWithSubSelectInSelectListAndOrderByClause(): void
{
$sql = $this->platform->modifyLimitQuery(
......@@ -214,9 +202,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
);
}
/**
* @group DBAL-834
*/
public function testModifyLimitQueryWithAggregateFunctionInOrderByClause(): void
{
$sql = $this->platform->modifyLimitQuery(
......
......@@ -16,7 +16,6 @@ class SQLServerPlatformTest extends AbstractSQLServerPlatformTestCase
/**
* @param int|bool|null $lockMode
*
* @group DDC-2310
* @dataProvider getLockHints
*/
public function testAppendsLockHint($lockMode, string $lockHint): void
......@@ -28,7 +27,6 @@ class SQLServerPlatformTest extends AbstractSQLServerPlatformTestCase
}
/**
* @group DBAL-2408
* @dataProvider getModifyLimitQueries
*/
public function testScrubInnerOrderBy(string $query, int $limit, ?int $offset, string $expectedResult): void
......
......@@ -80,10 +80,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-752
* @group DBAL-924
*/
public function testGeneratesTypeDeclarationForTinyIntegers(): void
{
self::assertEquals(
......@@ -110,10 +106,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-752
* @group DBAL-924
*/
public function testGeneratesTypeDeclarationForSmallIntegers(): void
{
self::assertEquals(
......@@ -144,10 +136,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-752
* @group DBAL-924
*/
public function testGeneratesTypeDeclarationForMediumIntegers(): void
{
self::assertEquals(
......@@ -208,10 +196,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-752
* @group DBAL-924
*/
public function testGeneratesTypeDeclarationForBigIntegers(): void
{
self::assertEquals(
......@@ -324,9 +308,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DDC-1845
*/
public function testGenerateTableSqlShouldNotAutoQuotePrimaryKey(): void
{
$table = new Table('test');
......@@ -520,8 +501,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getAlterTableRenameIndexSQL(): array
{
......@@ -537,8 +516,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
/**
* {@inheritDoc}
*
* @group DBAL-234
*/
protected function getQuotedAlterTableRenameIndexSQL(): array
{
......@@ -596,9 +573,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-807
*/
public function testAlterTableRenameIndexInSchema(): void
{
$this->markTestIncomplete(
......@@ -607,9 +581,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-807
*/
public function testQuotesAlterTableRenameIndexInSchema(): void
{
$this->markTestIncomplete(
......@@ -618,9 +589,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-423
*/
public function testReturnsGuidTypeDeclarationSQL(): void
{
self::assertSame('CHAR(36)', $this->platform->getGuidTypeDeclarationSQL([]));
......@@ -742,9 +710,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
];
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableConstraintsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -753,9 +718,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableColumnsSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -764,9 +726,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableIndexesSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......@@ -775,9 +734,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
);
}
/**
* @group DBAL-2436
*/
public function testQuotesTableNameInListTableForeignKeysSQL(): void
{
self::assertStringContainsStringIgnoringCase(
......
......@@ -31,9 +31,6 @@ class StatementTest extends DbalTestCase
$this->stmt = $this->createStatement($this->wrappedStmt, $this->conn);
}
/**
* @group DBAL-726
*/
public function testBindParam(): void
{
$column = 'mycolumn';
......
......@@ -5,9 +5,6 @@ namespace Doctrine\Tests\DBAL\Query\Expression;
use Doctrine\DBAL\Query\Expression\CompositeExpression;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-12
*/
class CompositeExpressionTest extends DbalTestCase
{
public function testCount(): void
......
......@@ -7,9 +7,6 @@ use Doctrine\DBAL\Query\Expression\CompositeExpression;
use Doctrine\DBAL\Query\Expression\ExpressionBuilder;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-12
*/
class ExpressionBuilderTest extends DbalTestCase
{
/** @var ExpressionBuilder */
......
......@@ -9,9 +9,6 @@ use Doctrine\DBAL\Query\QueryBuilder;
use Doctrine\DBAL\Query\QueryException;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-12
*/
class QueryBuilderTest extends DbalTestCase
{
/** @var Connection */
......@@ -28,9 +25,6 @@ class QueryBuilderTest extends DbalTestCase
->will($this->returnValue($expressionBuilder));
}
/**
* @group DBAL-2291
*/
public function testSimpleSelectWithoutFrom(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -673,9 +667,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertEquals(ParameterType::INTEGER, $qb->getParameterType(1));
}
/**
* @group DBAL-172
*/
public function testReferenceJoinFromJoin(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -692,9 +683,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertEquals('', $qb->getSQL());
}
/**
* @group DBAL-172
*/
public function testSelectFromMasterWithWhereOnJoinedTables(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -710,9 +698,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertEquals("SELECT COUNT(DISTINCT news.id) FROM newspages news INNER JOIN nodeversion nv ON nv.refId = news.id AND nv.refEntityname='Entity\\News' INNER JOIN nodetranslation nt ON nv.nodetranslation = nt.id INNER JOIN node n ON nt.node = n.id WHERE (nt.lang = ?) AND (n.deleted = 0)", $qb->getSQL());
}
/**
* @group DBAL-442
*/
public function testSelectWithMultipleFromAndJoins(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -728,9 +713,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertEquals('SELECT DISTINCT u.id FROM users u INNER JOIN permissions p ON p.user_id = u.id, articles a INNER JOIN comments c ON c.article_id = a.id WHERE (u.id = a.user_id) AND (p.read = 1)', $qb->getSQL());
}
/**
* @group DBAL-774
*/
public function testSelectWithJoinsWithMultipleOnConditionsParseOrder(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -753,9 +735,6 @@ class QueryBuilderTest extends DbalTestCase
);
}
/**
* @group DBAL-774
*/
public function testSelectWithMultipleFromsAndJoinsWithMultipleOnConditionsParseOrder(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -871,9 +850,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertEquals('SELECT * FROM users', (string) $qb);
}
/**
* @group DBAL-959
*/
public function testGetParameterType(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -892,9 +868,6 @@ class QueryBuilderTest extends DbalTestCase
self::assertSame(ParameterType::STRING, $qb->getParameterType('name'));
}
/**
* @group DBAL-959
*/
public function testGetParameterTypes(): void
{
$qb = new QueryBuilder($this->conn);
......@@ -919,9 +892,6 @@ class QueryBuilderTest extends DbalTestCase
], $qb->getParameterTypes());
}
/**
* @group DBAL-1137
*/
public function testJoinWithNonUniqueAliasThrowsException(): void
{
$qb = new QueryBuilder($this->conn);
......
......@@ -8,10 +8,6 @@ use Doctrine\DBAL\SQLParserUtils;
use Doctrine\DBAL\SQLParserUtilsException;
use Doctrine\Tests\DbalTestCase;
/**
* @group DBAL-78
* @group DDC-1372
*/
class SQLParserUtilsTest extends DbalTestCase
{
/**
......
......@@ -10,9 +10,6 @@ use PHPUnit\Framework\TestCase;
class ColumnDiffTest extends TestCase
{
/**
* @group DBAL-1255
*/
public function testPreservesOldColumnNameQuotation(): void
{
$fromColumn = new Column('"foo"', Type::getType(Types::INTEGER));
......
......@@ -95,10 +95,6 @@ class ColumnTest extends TestCase
return new Column('foo', $string, $options);
}
/**
* @group DBAL-64
* @group DBAL-830
*/
public function testQuotedColumnName(): void
{
$string = Type::getType('string');
......@@ -121,7 +117,6 @@ class ColumnTest extends TestCase
/**
* @dataProvider getIsQuoted
* @group DBAL-830
*/
public function testIsQuoted(string $columnName, bool $isQuoted): void
{
......@@ -144,9 +139,6 @@ class ColumnTest extends TestCase
];
}
/**
* @group DBAL-42
*/
public function testColumnComment(): void
{
$column = new Column('bar', Type::getType('string'));
......
......@@ -701,9 +701,6 @@ class ComparatorTest extends TestCase
self::assertFalse($c->diffForeignKey($fk1, $fk2));
}
/**
* @group DBAL-492
*/
public function testCompareForeignKeyNamesUnqualifiedAsNoSchemaInformationIsAvailable(): void
{
$fk1 = new ForeignKeyConstraint(['foo'], 'foo.bar', ['baz'], 'fk1');
......@@ -734,8 +731,6 @@ class ComparatorTest extends TestCase
* You can easily have ambiguities in the column renaming. If these
* are detected no renaming should take place, instead adding and dropping
* should be used exclusively.
*
* @group DBAL-24
*/
public function testDetectRenameColumnAmbiguous(): void
{
......@@ -757,9 +752,6 @@ class ComparatorTest extends TestCase
self::assertCount(0, $tableDiff->renamedColumns, 'no renamings should take place.');
}
/**
* @group DBAL-1063
*/
public function testDetectRenameIndex(): void
{
$table1 = new Table('foo');
......@@ -784,8 +776,6 @@ class ComparatorTest extends TestCase
* You can easily have ambiguities in the index renaming. If these
* are detected no renaming should take place, instead adding and dropping
* should be used exclusively.
*
* @group DBAL-1063
*/
public function testDetectRenameIndexAmbiguous(): void
{
......@@ -827,9 +817,6 @@ class ComparatorTest extends TestCase
self::assertArrayHasKey('id', $tableDiff->changedColumns);
}
/**
* @group DBAL-105
*/
public function testDiff(): void
{
$table = new Table('twitter_users');
......@@ -854,9 +841,6 @@ class ComparatorTest extends TestCase
self::assertCount(0, $tableDiff->removedColumns);
}
/**
* @group DBAL-112
*/
public function testChangedSequence(): void
{
$schema = new Schema();
......@@ -872,7 +856,6 @@ class ComparatorTest extends TestCase
}
/**
* @group DBAL-106
* @psalm-suppress NullArgument
*/
public function testDiffDecimalWithNullPrecision(): void
......@@ -886,9 +869,6 @@ class ComparatorTest extends TestCase
self::assertEquals([], $c->diffColumn($column, $column2));
}
/**
* @group DBAL-204
*/
public function testFqnSchemaComparison(): void
{
$config = new SchemaConfig();
......@@ -906,9 +886,6 @@ class ComparatorTest extends TestCase
self::assertEquals($expected, Comparator::compareSchemas($oldSchema, $newSchema));
}
/**
* @group DBAL-669
*/
public function testNamespacesComparison(): void
{
$config = new SchemaConfig();
......@@ -933,9 +910,6 @@ class ComparatorTest extends TestCase
self::assertCount(2, $diff->newTables);
}
/**
* @group DBAL-204
*/
public function testFqnSchemaComparisonDifferentSchemaNameButSameTableNoDiff(): void
{
$config = new SchemaConfig();
......@@ -953,9 +927,6 @@ class ComparatorTest extends TestCase
self::assertEquals($expected, Comparator::compareSchemas($oldSchema, $newSchema));
}
/**
* @group DBAL-204
*/
public function testFqnSchemaComparisonNoSchemaSame(): void
{
$config = new SchemaConfig();
......@@ -972,9 +943,6 @@ class ComparatorTest extends TestCase
self::assertEquals($expected, Comparator::compareSchemas($oldSchema, $newSchema));
}
/**
* @group DDC-1657
*/
public function testAutoIncrementSequences(): void
{
$oldSchema = new Schema();
......@@ -996,8 +964,6 @@ class ComparatorTest extends TestCase
/**
* Check that added autoincrement sequence is not populated in newSequences
*
* @group DBAL-562
*/
public function testAutoIncrementNoSequences(): void
{
......@@ -1101,9 +1067,6 @@ class ComparatorTest extends TestCase
self::assertEquals($expected, Comparator::compareSchemas($oldSchema, $newSchema));
}
/**
* @group DBAL-617
*/
public function testCompareQuotedAndUnquotedForeignKeyColumns(): void
{
$fk1 = new ForeignKeyConstraint(['foo'], 'bar', ['baz'], 'fk1', ['onDelete' => 'NO ACTION']);
......@@ -1167,9 +1130,6 @@ class ComparatorTest extends TestCase
self::assertEquals([], $comparator->diffColumn($column2, $column1));
}
/**
* @group DBAL-669
*/
public function testComparesNamespaces(): void
{
$comparator = new Comparator();
......@@ -1232,7 +1192,6 @@ class ComparatorTest extends TestCase
}
/**
* @group DBAL-1009
* @dataProvider getCompareColumnComments
*/
public function testCompareColumnComments(?string $comment1, ?string $comment2, bool $equals): void
......
......@@ -39,8 +39,6 @@ final class DB2SchemaManagerTest extends TestCase
/**
* @see https://github.com/doctrine/dbal/issues/2701
*
* @group DBAL-2701
*/
public function testListTableNamesFiltersAssetNamesCorrectly(): void
{
......@@ -61,9 +59,6 @@ final class DB2SchemaManagerTest extends TestCase
);
}
/**
* @group DBAL-2701
*/
public function testAssetFilteringSetsACallable(): void
{
$filterExpression = '/^(?!T_)/';
......
......@@ -12,7 +12,6 @@ class ForeignKeyConstraintTest extends TestCase
/**
* @param string[] $indexColumns
*
* @group DBAL-1062
* @dataProvider getIntersectsIndexColumnsData
*/
public function testIntersectsIndexColumns(array $indexColumns, bool $expectedResult): void
......@@ -61,7 +60,6 @@ class ForeignKeyConstraintTest extends TestCase
/**
* @param string|Table $foreignTableName
*
* @group DBAL-1062
* @dataProvider getUnqualifiedForeignTableNameData
*/
public function testGetUnqualifiedForeignTableName($foreignTableName, string $expectedUnqualifiedTableName): void
......
......@@ -40,9 +40,6 @@ class IndexTest extends TestCase
self::assertFalse($idx->isPrimary());
}
/**
* @group DBAL-50
*/
public function testFulfilledByUnique(): void
{
$idx1 = $this->createIndex(true, false);
......@@ -53,9 +50,6 @@ class IndexTest extends TestCase
self::assertFalse($idx1->isFullfilledBy($idx3));
}
/**
* @group DBAL-50
*/
public function testFulfilledByPrimary(): void
{
$idx1 = $this->createIndex(true, true);
......@@ -66,9 +60,6 @@ class IndexTest extends TestCase
self::assertFalse($idx1->isFullfilledBy($idx3));
}
/**
* @group DBAL-50
*/
public function testFulfilledByIndex(): void
{
$idx1 = $this->createIndex();
......@@ -141,9 +132,6 @@ class IndexTest extends TestCase
];
}
/**
* @group DBAL-220
*/
public function testFlags(): void
{
$idx1 = $this->createIndex();
......@@ -160,9 +148,6 @@ class IndexTest extends TestCase
self::assertEmpty($idx1->getFlags());
}
/**
* @group DBAL-285
*/
public function testIndexQuotes(): void
{
$index = new Index('foo', ['`bar`', '`baz`']);
......
......@@ -44,9 +44,6 @@ class MySQLSchemaTest extends TestCase
);
}
/**
* @group DBAL-132
*/
public function testGenerateForeignKeySQL(): void
{
$tableOld = new Table('test');
......@@ -61,9 +58,6 @@ class MySQLSchemaTest extends TestCase
self::assertEquals(['ALTER TABLE test ADD CONSTRAINT FK_D87F7E0C8E48560F FOREIGN KEY (foo_id) REFERENCES test_foreign (foo_id)'], $sqls);
}
/**
* @group DDC-1737
*/
public function testClobNoAlterTable(): void
{
$tableOld = new Table('test');
......
......@@ -220,9 +220,6 @@ class SchemaTest extends TestCase
self::assertSame($schemaNew->getTable('bar'), $re->getValue($fk));
}
/**
* @group DBAL-219
*/
public function testHasTableForQuotedAsset(): void
{
$schema = new Schema();
......@@ -233,9 +230,6 @@ class SchemaTest extends TestCase
self::assertTrue($schema->hasTable('`foo`'));
}
/**
* @group DBAL-669
*/
public function testHasNamespace(): void
{
$schema = new Schema();
......@@ -257,9 +251,6 @@ class SchemaTest extends TestCase
self::assertTrue($schema->hasNamespace('tab'));
}
/**
* @group DBAL-669
*/
public function testCreatesNamespace(): void
{
$schema = new Schema();
......@@ -283,9 +274,6 @@ class SchemaTest extends TestCase
self::assertSame(['foo' => 'foo', 'bar' => '`bar`'], $schema->getNamespaces());
}
/**
* @group DBAL-669
*/
public function testThrowsExceptionOnCreatingNamespaceTwice(): void
{
$schema = new Schema();
......@@ -297,9 +285,6 @@ class SchemaTest extends TestCase
$schema->createNamespace('foo');
}
/**
* @group DBAL-669
*/
public function testCreatesNamespaceThroughAddingTableImplicitly(): void
{
$schema = new Schema();
......@@ -327,9 +312,6 @@ class SchemaTest extends TestCase
self::assertFalse($schema->hasNamespace('moo'));
}
/**
* @group DBAL-669
*/
public function testCreatesNamespaceThroughAddingSequenceImplicitly(): void
{
$schema = new Schema();
......@@ -357,9 +339,6 @@ class SchemaTest extends TestCase
self::assertFalse($schema->hasNamespace('moo'));
}
/**
* @group DBAL-669
*/
public function testVisitsVisitor(): void
{
$schema = new Schema();
......@@ -403,9 +382,6 @@ class SchemaTest extends TestCase
self::assertNull($schema->visit($visitor));
}
/**
* @group DBAL-669
*/
public function testVisitsNamespaceVisitor(): void
{
$schema = new Schema();
......
......@@ -8,9 +8,6 @@ use Doctrine\Tests\DbalTestCase;
class SequenceTest extends DbalTestCase
{
/**
* @group DDC-1657
*/
public function testIsAutoincrementFor(): void
{
$table = new Table('foo');
......
......@@ -12,7 +12,6 @@ class SqliteSchemaManagerTest extends TestCase
{
/**
* @dataProvider getDataColumnCollation
* @group 2865
*/
public function testParseColumnCollation(?string $collation, string $column, string $sql): void
{
......@@ -53,7 +52,6 @@ class SqliteSchemaManagerTest extends TestCase
/**
* @dataProvider getDataColumnComment
* @group 2865
*/
public function testParseColumnCommentFromSQL(?string $comment, string $column, string $sql): void
{
......
......@@ -19,9 +19,6 @@ class TableDiffTest extends TestCase
$this->platform = $this->createMock(AbstractPlatform::class);
}
/**
* @group DBAL-1013
*/
public function testReturnsName(): void
{
$tableDiff = new TableDiff('foo');
......@@ -29,9 +26,6 @@ class TableDiffTest extends TestCase
self::assertEquals(new Identifier('foo'), $tableDiff->getName($this->platform));
}
/**
* @group DBAL-1016
*/
public function testPrefersNameFromTableObject(): void
{
$tableMock = $this->getMockBuilder(Table::class)
......@@ -49,9 +43,6 @@ class TableDiffTest extends TestCase
self::assertEquals(new Identifier('foo'), $tableDiff->getName($this->platform));
}
/**
* @group DBAL-1013
*/
public function testReturnsNewName(): void
{
$tableDiff = new TableDiff('foo');
......
......@@ -348,9 +348,6 @@ class TableTest extends DbalTestCase
self::assertTrue($column->getNotnull());
}
/**
* @group DDC-133
*/
public function testAllowImplicitSchemaTableInAutogeneratedIndexNames(): void
{
$table = new Table('foo.bar');
......@@ -360,9 +357,6 @@ class TableTest extends DbalTestCase
self::assertCount(1, $table->getIndexes());
}
/**
* @group DBAL-50
*/
public function testAddForeignKeyIndexImplicitly(): void
{
$table = new Table('foo');
......@@ -381,9 +375,6 @@ class TableTest extends DbalTestCase
self::assertEquals(['id'], $index->getColumns());
}
/**
* @group DBAL-1063
*/
public function testAddForeignKeyDoesNotCreateDuplicateIndex(): void
{
$table = new Table('foo');
......@@ -400,9 +391,6 @@ class TableTest extends DbalTestCase
self::assertSame(['bar'], $table->getIndex('bar_idx')->getColumns());
}
/**
* @group DBAL-1063
*/
public function testAddForeignKeyAddsImplicitIndexIfIndexColumnsDoNotSpan(): void
{
$table = new Table('foo');
......@@ -427,10 +415,6 @@ class TableTest extends DbalTestCase
self::assertSame(['bar', 'baz'], $table->getIndex('idx_8c73652176ff8caa78240498')->getColumns());
}
/**
* @group DBAL-50
* @group DBAL-1063
*/
public function testOverrulingIndexDoesNotDropOverruledIndex(): void
{
$table = new Table('bar');
......@@ -446,9 +430,6 @@ class TableTest extends DbalTestCase
self::assertTrue($table->hasIndex($index->getName()));
}
/**
* @group DBAL-1063
*/
public function testAllowsAddingDuplicateIndexesBasedOnColumns(): void
{
$table = new Table('foo');
......@@ -463,9 +444,6 @@ class TableTest extends DbalTestCase
self::assertSame(['bar'], $table->getIndex('duplicate_idx')->getColumns());
}
/**
* @group DBAL-1063
*/
public function testAllowsAddingFulfillingIndexesBasedOnColumns(): void
{
$table = new Table('foo');
......@@ -481,10 +459,6 @@ class TableTest extends DbalTestCase
self::assertSame(['bar', 'baz'], $table->getIndex('fulfilling_idx')->getColumns());
}
/**
* @group DBAL-50
* @group DBAL-1063
*/
public function testPrimaryKeyOverrulingUniqueIndexDoesNotDropUniqueIndex(): void
{
$table = new Table('bar');
......@@ -572,9 +546,6 @@ class TableTest extends DbalTestCase
self::assertNotSame($implicitIndex, $localTable->getIndex('IDX_8BD688E8BF396750'));
}
/**
* @group DBAL-64
*/
public function testQuotedTableName(): void
{
$table = new Table('`bar`');
......@@ -587,9 +558,6 @@ class TableTest extends DbalTestCase
self::assertEquals('"bar"', $table->getQuotedName($sqlitePlatform));
}
/**
* @group DBAL-79
*/
public function testTableHasPrimaryKey(): void
{
$table = new Table('test');
......@@ -602,9 +570,6 @@ class TableTest extends DbalTestCase
self::assertTrue($table->hasPrimaryKey());
}
/**
* @group DBAL-91
*/
public function testAddIndexWithQuotedColumns(): void
{
$table = new Table('test');
......@@ -615,9 +580,6 @@ class TableTest extends DbalTestCase
self::assertTrue($table->columnsAreIndexed(['"foo"', '"bar"']));
}
/**
* @group DBAL-91
*/
public function testAddForeignKeyWithQuotedColumnsAndTable(): void
{
$table = new Table('test');
......@@ -628,9 +590,6 @@ class TableTest extends DbalTestCase
self::assertCount(1, $table->getForeignKeys());
}
/**
* @group DBAL-177
*/
public function testQuoteSchemaPrefixed(): void
{
$table = new Table('`test`.`test`');
......@@ -638,9 +597,6 @@ class TableTest extends DbalTestCase
self::assertEquals('`test`.`test`', $table->getQuotedName(new MySqlPlatform()));
}
/**
* @group DBAL-204
*/
public function testFullQualifiedTableName(): void
{
$table = new Table('`test`.`test`');
......@@ -652,9 +608,6 @@ class TableTest extends DbalTestCase
self::assertEquals('other.test', $table->getFullQualifiedName('other'));
}
/**
* @group DBAL-224
*/
public function testDropIndex(): void
{
$table = new Table('test');
......@@ -667,9 +620,6 @@ class TableTest extends DbalTestCase
self::assertFalse($table->hasIndex('idx'));
}
/**
* @group DBAL-224
*/
public function testDropPrimaryKey(): void
{
$table = new Table('test');
......@@ -682,9 +632,6 @@ class TableTest extends DbalTestCase
self::assertFalse($table->hasPrimaryKey());
}
/**
* @group DBAL-234
*/
public function testRenameIndex(): void
{
$table = new Table('test');
......@@ -754,9 +701,6 @@ class TableTest extends DbalTestCase
self::assertTrue($table->hasIndex('UNIQ_D87F7E0C76FF8CAA78240498'));
}
/**
* @group DBAL-2508
*/
public function testKeepsIndexOptionsOnRenamingRegularIndex(): void
{
$table = new Table('foo');
......@@ -768,9 +712,6 @@ class TableTest extends DbalTestCase
self::assertSame(['where' => '1 = 1'], $table->getIndex('idx_baz')->getOptions());
}
/**
* @group DBAL-2508
*/
public function testKeepsIndexOptionsOnRenamingUniqueIndex(): void
{
$table = new Table('foo');
......@@ -782,9 +723,6 @@ class TableTest extends DbalTestCase
self::assertSame(['where' => '1 = 1'], $table->getIndex('idx_baz')->getOptions());
}
/**
* @group DBAL-234
*/
public function testThrowsExceptionOnRenamingNonExistingIndex(): void
{
$table = new Table('test');
......@@ -796,9 +734,6 @@ class TableTest extends DbalTestCase
$table->renameIndex('foo', 'bar');
}
/**
* @group DBAL-234
*/
public function testThrowsExceptionOnRenamingToAlreadyExistingIndex(): void
{
$table = new Table('test');
......@@ -814,7 +749,6 @@ class TableTest extends DbalTestCase
/**
* @dataProvider getNormalizesAssetNames
* @group DBAL-831
*/
public function testNormalizesColumnNames(string $assetName): void
{
......
......@@ -12,9 +12,6 @@ use function array_keys;
class RemoveNamespacedAssetsTest extends TestCase
{
/**
* @group DBAL-204
*/
public function testRemoveNamespacedAssets(): void
{
$config = new SchemaConfig();
......@@ -31,9 +28,6 @@ class RemoveNamespacedAssetsTest extends TestCase
self::assertEquals(['test.test', 'test.baz'], array_keys($tables), "Only 2 tables should be present, both in 'test' namespace.");
}
/**
* @group DBAL-204
*/
public function testCleanupForeignKeys(): void
{
$config = new SchemaConfig();
......@@ -54,9 +48,6 @@ class RemoveNamespacedAssetsTest extends TestCase
self::assertCount(1, $sql, 'Just one CREATE TABLE statement, no foreign key and table to foo.bar');
}
/**
* @group DBAL-204
*/
public function testCleanupForeignKeysDifferentOrder(): void
{
$config = new SchemaConfig();
......
......@@ -47,9 +47,6 @@ class ArrayTest extends DbalTestCase
self::assertNull($this->type->convertToPHPValue(null, $this->platform));
}
/**
* @group DBAL-73
*/
public function testFalseConversion(): void
{
self::assertFalse($this->type->convertToPHPValue(serialize(false), $this->platform));
......
......@@ -68,8 +68,6 @@ abstract class BaseDateTypeTestCase extends TestCase
}
/**
* @group #2794
*
* Note that while \@see \DateTimeImmutable is supposed to be handled
* by @see \Doctrine\DBAL\Types\DateTimeImmutableType, previous DBAL versions handled it just fine.
* This test is just in place to prevent further regressions, even if the type is being misused
......@@ -82,8 +80,6 @@ abstract class BaseDateTypeTestCase extends TestCase
}
/**
* @group #2794
*
* Note that while \@see \DateTimeImmutable is supposed to be handled
* by @see \Doctrine\DBAL\Types\DateTimeImmutableType, previous DBAL versions handled it just fine.
* This test is just in place to prevent further regressions, even if the type is being misused
......
......@@ -91,9 +91,6 @@ final class DateIntervalTest extends DbalTestCase
$this->type->convertToPHPValue('', $this->platform);
}
/**
* @group DBAL-1288
*/
public function testRequiresSQLCommentHint(): void
{
self::assertTrue($this->type->requiresSQLCommentHint($this->platform));
......
......@@ -97,9 +97,6 @@ class DateTimeImmutableTypeTest extends TestCase
self::assertSame('2016-01-01 15:58:59', $date->format('Y-m-d H:i:s'));
}
/**
* @group DBAL-415
*/
public function testConvertsDateTimeStringWithMicrosecondsToPHPValue(): void
{
$this->platform->expects($this->any())
......
......@@ -48,9 +48,6 @@ class ObjectTest extends DbalTestCase
self::assertNull($this->type->convertToPHPValue(null, $this->platform));
}
/**
* @group DBAL-73
*/
public function testFalseConversion(): void
{
self::assertFalse($this->type->convertToPHPValue(serialize(false), $this->platform));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment