diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 16:05:16 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 16:05:16 +0100 |
commit | 17e16cf46fe9cf605aa0c761e71251ecc0c48724 (patch) | |
tree | 9d4f03252a0fe9c92ba88c63bdb5b98cf731c559 /tests/integration/bootstrap.php | |
parent | 867768d172cc6ddad8605507e048e0c058e36ba6 (diff) |
fix warnings
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); |