summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 13:51:36 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 13:51:36 +0200
commit49c27d13e551754368822ca39efab503a86108bf (patch)
treeafd3a8991aaa47ecb4deb690c51116132e70ce55 /tests
parente9c10e419604ec07a2305540d2800c93ee413067 (diff)
more ::class migrations and fix user deletion hook
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/bootstrap.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php
index 559cda7eb..badb0f788 100644
--- a/tests/integration/bootstrap.php
+++ b/tests/integration/bootstrap.php
@@ -27,9 +27,9 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase {
$app = new Application();
$this->container = $app->getContainer();
- $this->itemMapper = $this->container->query('OCA\News\Db\ItemMapper');
- $this->feedMapper = $this->container->query('OCA\News\Db\FeedMapper');
- $this->folderMapper = $this->container->query('OCA\News\Db\FolderMapper');
+ $this->itemMapper = $this->container->query(\OCA\News\Db\ItemMapper::class);
+ $this->feedMapper = $this->container->query(\OCA\News\Db\FeedMapper::class);
+ $this->folderMapper = $this->container->query(\OCA\News\Db\FolderMapper::class);
$this->loadFixtures(
$this->folderMapper,
@@ -193,4 +193,4 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase {
}
-} \ No newline at end of file
+}