diff options
Diffstat (limited to 'tests/api/controllers/GetLinksTest.php')
-rw-r--r-- | tests/api/controllers/GetLinksTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/api/controllers/GetLinksTest.php b/tests/api/controllers/GetLinksTest.php index da54fcf1..10330cd9 100644 --- a/tests/api/controllers/GetLinksTest.php +++ b/tests/api/controllers/GetLinksTest.php | |||
@@ -1,7 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | |||
3 | namespace Shaarli\Api\Controllers; | 2 | namespace Shaarli\Api\Controllers; |
4 | 3 | ||
4 | use Shaarli\Config\ConfigManager; | ||
5 | 5 | ||
6 | use Slim\Container; | 6 | use Slim\Container; |
7 | use Slim\Http\Environment; | 7 | use Slim\Http\Environment; |
@@ -25,7 +25,7 @@ class GetLinksTest extends \PHPUnit_Framework_TestCase | |||
25 | protected static $testDatastore = 'sandbox/datastore.php'; | 25 | protected static $testDatastore = 'sandbox/datastore.php'; |
26 | 26 | ||
27 | /** | 27 | /** |
28 | * @var \ConfigManager instance | 28 | * @var ConfigManager instance |
29 | */ | 29 | */ |
30 | protected $conf; | 30 | protected $conf; |
31 | 31 | ||
@@ -54,7 +54,7 @@ class GetLinksTest extends \PHPUnit_Framework_TestCase | |||
54 | */ | 54 | */ |
55 | public function setUp() | 55 | public function setUp() |
56 | { | 56 | { |
57 | $this->conf = new \ConfigManager('tests/utils/config/configJson'); | 57 | $this->conf = new ConfigManager('tests/utils/config/configJson'); |
58 | $this->refDB = new \ReferenceLinkDB(); | 58 | $this->refDB = new \ReferenceLinkDB(); |
59 | $this->refDB->write(self::$testDatastore); | 59 | $this->refDB->write(self::$testDatastore); |
60 | 60 | ||