diff options
Diffstat (limited to 'tests/integration/bootstrap.php')
-rw-r--r-- | tests/integration/bootstrap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php index a1bcaaa19..effe2fe9d 100644 --- a/tests/integration/bootstrap.php +++ b/tests/integration/bootstrap.php @@ -19,7 +19,7 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase { ]; foreach ($sql as $query) { - $this->db->prepareQuery($query)->execute($user); + $this->db->prepareQuery($query)->execute([$user]); } } @@ -38,7 +38,7 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase { } - protected function setUp($user='test', $password='test') { + protected function setUpOwnCloud($user='test', $password='test') { $this->db = \OC::$server->getDb(); $this->setupUser($user, $password); $this->setupNewsDatabase($user); |