summaryrefslogtreecommitdiffstats
path: root/tests/lib/db
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-29 18:19:31 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-29 18:19:31 +0200
commit5ed38a75d64c06d923a580175f6ab732234694a1 (patch)
tree07fbe359a6c3dbfd7bc587d4a06020be1169df96 /tests/lib/db
parent3ef680d96623eb6350015843f56b55b593a053bd (diff)
downloadnextcloud-server-5ed38a75d64c06d923a580175f6ab732234694a1.tar.gz
nextcloud-server-5ed38a75d64c06d923a580175f6ab732234694a1.zip
Remove remainings of mssql
Diffstat (limited to 'tests/lib/db')
-rw-r--r--tests/lib/db/mdb2schemamanager.php4
-rw-r--r--tests/lib/db/migrator.php6
2 files changed, 2 insertions, 8 deletions
diff --git a/tests/lib/db/mdb2schemamanager.php b/tests/lib/db/mdb2schemamanager.php
index e20f4c421b8..8ce6febf3ac 100644
--- a/tests/lib/db/mdb2schemamanager.php
+++ b/tests/lib/db/mdb2schemamanager.php
@@ -10,7 +10,6 @@
namespace Test\DB;
use Doctrine\DBAL\Platforms\OraclePlatform;
-use Doctrine\DBAL\Platforms\SQLServerPlatform;
class MDB2SchemaManager extends \Test\TestCase {
@@ -30,9 +29,6 @@ class MDB2SchemaManager extends \Test\TestCase {
if ($connection->getDatabasePlatform() instanceof OraclePlatform) {
$this->markTestSkipped('Adding auto increment columns in Oracle is not supported.');
}
- if ($connection->getDatabasePlatform() instanceof SQLServerPlatform) {
- $this->markTestSkipped('DB migration tests are not supported on MSSQL');
- }
$manager = new \OC\DB\MDB2SchemaManager($connection);
diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php
index 6bde68c2d20..4d558909743 100644
--- a/tests/lib/db/migrator.php
+++ b/tests/lib/db/migrator.php
@@ -11,9 +11,9 @@ namespace Test\DB;
use \Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\OraclePlatform;
-use Doctrine\DBAL\Platforms\SQLServerPlatform;
use \Doctrine\DBAL\Schema\Schema;
use \Doctrine\DBAL\Schema\SchemaConfig;
+use OCP\IConfig;
class Migrator extends \Test\TestCase {
/**
@@ -31,6 +31,7 @@ class Migrator extends \Test\TestCase {
**/
private $config;
+ /** @var string */
private $tableName;
protected function setUp() {
@@ -41,9 +42,6 @@ class Migrator extends \Test\TestCase {
if ($this->connection->getDatabasePlatform() instanceof OraclePlatform) {
$this->markTestSkipped('DB migration tests are not supported on OCI');
}
- if ($this->connection->getDatabasePlatform() instanceof SQLServerPlatform) {
- $this->markTestSkipped('DB migration tests are not supported on MSSQL');
- }
$this->manager = new \OC\DB\MDB2SchemaManager($this->connection);
$this->tableName = strtolower($this->getUniqueID($this->config->getSystemValue('dbtableprefix', 'oc_') . 'test_'));
}