summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/FeedMapperTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-07-23 18:34:17 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-07-23 18:34:17 +0200
commit9b1fe46fe995bc103d3c5cfa9a552d050ff0ead8 (patch)
tree7b86abb65272df89f61e849a08edef5326207b8a /tests/unit/db/FeedMapperTest.php
parentb88d42074dcd0842d0db3ca8ed24b0b9ccb78a7a (diff)
Add timestamps for all entities in milisecond unix time format
Diffstat (limited to 'tests/unit/db/FeedMapperTest.php')
-rw-r--r--tests/unit/db/FeedMapperTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/db/FeedMapperTest.php b/tests/unit/db/FeedMapperTest.php
index 97488fb88..7e2f8d777 100644
--- a/tests/unit/db/FeedMapperTest.php
+++ b/tests/unit/db/FeedMapperTest.php
@@ -14,6 +14,8 @@
namespace OCA\News\Db;
+use OCA\News\Utility\Time;
+
class FeedMapperTest extends \OCA\News\Tests\Unit\Db\MapperTestUtility {
private $mapper;
@@ -22,7 +24,7 @@ class FeedMapperTest extends \OCA\News\Tests\Unit\Db\MapperTestUtility {
protected function setUp(){
parent::setUp();
- $this->mapper = new FeedMapper($this->db);
+ $this->mapper = new FeedMapper($this->db, new Time());
// create mock feeds
$feed1 = new Feed();