]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/api/controllers/tags/GetTagNameTest.php
namespacing: \Shaarli\Bookmark\LinkDB
[github/shaarli/Shaarli.git] / tests / api / controllers / tags / GetTagNameTest.php
index d60f5b389d733e6436711b97f8d0b6498319df00..8e0feccd32a271ef01580159a5e26e3d9d4b6056 100644 (file)
@@ -59,7 +59,7 @@ class GetTagNameTest extends \PHPUnit_Framework_TestCase
 
         $this->container = new Container();
         $this->container['conf'] = $this->conf;
-        $this->container['db'] = new \LinkDB(self::$testDatastore, true, false);
+        $this->container['db'] = new \Shaarli\Bookmark\LinkDB(self::$testDatastore, true, false);
         $this->container['history'] = null;
 
         $this->controller = new Tags($this->container);
@@ -112,7 +112,7 @@ class GetTagNameTest extends \PHPUnit_Framework_TestCase
     }
 
     /**
-     * Test basic getLink service: get non existent link => ApiLinkNotFoundException.
+     * Test basic getTag service: get non existent tag => ApiTagNotFoundException.
      *
      * @expectedException Shaarli\Api\Exceptions\ApiTagNotFoundException
      * @expectedExceptionMessage Tag not found