Remove unit tests in favor of functional tests

parent 255e1129
......@@ -907,15 +907,4 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
self::assertContains('bar', $sql);
self::assertNotContains('DATABASE()', $sql);
}
public function testGetDefaultValueDeclarationSQLEscaped()
{
// string must be escaped
$field = [
'type' => 'string',
'default' => 'Foo\\Bar'
];
self::assertSame(" DEFAULT 'Foo\\\\Bar'", $this->_platform->getDefaultValueDeclarationSQL($field));
}
}
......@@ -976,15 +976,4 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
true
);
}
public function testGetDefaultValueDeclarationSQLEscaped() : void
{
// string must be escaped
$field = [
'type' => 'string',
'default' => 'Foo\\Bar'
];
self::assertSame(" DEFAULT 'Foo\\Bar'", $this->_platform->getDefaultValueDeclarationSQL($field));
}
}
......@@ -748,15 +748,4 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
{
self::assertContains("'Foo''Bar\\'", $this->_platform->getListTableForeignKeysSQL("Foo'Bar\\"), '', true);
}
public function testGetDefaultValueDeclarationSQLEscaped()
{
// string must be escaped
$field = [
'type' => 'string',
'default' => "Foo\\Bar'Baz"
];
self::assertSame(" DEFAULT 'Foo\\Bar''Baz'", $this->_platform->getDefaultValueDeclarationSQL($field));
}
}
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