diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/bootstrap.php | 8 |
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 +} |