From 49c27d13e551754368822ca39efab503a86108bf Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 13:51:36 +0200 Subject: more ::class migrations and fix user deletion hook --- tests/integration/bootstrap.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/integration') 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 +} -- cgit v1.2.3