aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-10 13:54:50 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-03 11:18:17 +0200
commit4d7045e7015c85030c9b37137955fa09db1f866f (patch)
treec10ef7652cb8ce8e6fd3a5a35a045cdf3e201f86 /tests
parentb4cee3d4e9a163b4f175dd82d132fc156d296316 (diff)
downloadnextcloud-server-4d7045e7015c85030c9b37137955fa09db1f866f.tar.gz
nextcloud-server-4d7045e7015c85030c9b37137955fa09db1f866f.zip
Fix unit tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/db/migrator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php
index 5d85bd98f31..e9b986236b8 100644
--- a/tests/lib/db/migrator.php
+++ b/tests/lib/db/migrator.php
@@ -22,11 +22,11 @@ class Migrator extends \PHPUnit_Framework_TestCase {
private $tableName;
public function setUp() {
+ $this->connection = \OC_DB::getConnection();
if ($this->connection->getDriver() instanceof \Doctrine\DBAL\Driver\OCI8\Driver) {
$this->markTestSkipped('DB migration tests arent supported on OCI');
}
$this->tableName = 'test_' . uniqid();
- $this->connection = \OC_DB::getConnection();
}
public function tearDown() {