diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-03 01:10:39 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 22:47:48 +0100 |
commit | f24896b237e40718fb6eaa2869592eb0855a47fd (patch) | |
tree | 32ca9a3e096981840426a9b762d57ec8db2ecbee /tests/api/controllers/links/GetLinkIdTest.php | |
parent | a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392 (diff) | |
download | Shaarli-f24896b237e40718fb6eaa2869592eb0855a47fd.tar.gz Shaarli-f24896b237e40718fb6eaa2869592eb0855a47fd.tar.zst Shaarli-f24896b237e40718fb6eaa2869592eb0855a47fd.zip |
namespacing: \Shaarli\Bookmark\LinkDB
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/api/controllers/links/GetLinkIdTest.php')
-rw-r--r-- | tests/api/controllers/links/GetLinkIdTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/api/controllers/links/GetLinkIdTest.php b/tests/api/controllers/links/GetLinkIdTest.php index 57528d5a..bf58000b 100644 --- a/tests/api/controllers/links/GetLinkIdTest.php +++ b/tests/api/controllers/links/GetLinkIdTest.php | |||
@@ -61,7 +61,7 @@ class GetLinkIdTest extends \PHPUnit_Framework_TestCase | |||
61 | 61 | ||
62 | $this->container = new Container(); | 62 | $this->container = new Container(); |
63 | $this->container['conf'] = $this->conf; | 63 | $this->container['conf'] = $this->conf; |
64 | $this->container['db'] = new \LinkDB(self::$testDatastore, true, false); | 64 | $this->container['db'] = new \Shaarli\Bookmark\LinkDB(self::$testDatastore, true, false); |
65 | $this->container['history'] = null; | 65 | $this->container['history'] = null; |
66 | 66 | ||
67 | $this->controller = new Links($this->container); | 67 | $this->controller = new Links($this->container); |
@@ -108,7 +108,7 @@ class GetLinkIdTest extends \PHPUnit_Framework_TestCase | |||
108 | $this->assertEquals('sTuff', $data['tags'][0]); | 108 | $this->assertEquals('sTuff', $data['tags'][0]); |
109 | $this->assertEquals(false, $data['private']); | 109 | $this->assertEquals(false, $data['private']); |
110 | $this->assertEquals( | 110 | $this->assertEquals( |
111 | \DateTime::createFromFormat(\LinkDB::LINK_DATE_FORMAT, '20150310_114651')->format(\DateTime::ATOM), | 111 | \DateTime::createFromFormat(\Shaarli\Bookmark\LinkDB::LINK_DATE_FORMAT, '20150310_114651')->format(\DateTime::ATOM), |
112 | $data['created'] | 112 | $data['created'] |
113 | ); | 113 | ); |
114 | $this->assertEmpty($data['updated']); | 114 | $this->assertEmpty($data['updated']); |