diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-02 23:31:40 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 22:47:48 +0100 |
commit | f3d2f257946e2a3c8791c1ba99b379acbe934fec (patch) | |
tree | 7f66543d9a21fd4e8c90f0ed00adde0a62d1205d /tests/LinkDBTest.php | |
parent | bdc5152d486ca75372c271f94623b248bc127800 (diff) | |
download | Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.tar.gz Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.tar.zst Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.zip |
namespacing: \Shaarli\Exceptions\IOException
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r-- | tests/LinkDBTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index c763c0cb..9b2f35e6 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php | |||
@@ -3,6 +3,8 @@ | |||
3 | * Link datastore tests | 3 | * Link datastore tests |
4 | */ | 4 | */ |
5 | 5 | ||
6 | use Shaarli\Exceptions\IOException; | ||
7 | |||
6 | require_once 'application/Cache.php'; | 8 | require_once 'application/Cache.php'; |
7 | require_once 'application/FileUtils.php'; | 9 | require_once 'application/FileUtils.php'; |
8 | require_once 'application/LinkDB.php'; | 10 | require_once 'application/LinkDB.php'; |
@@ -100,7 +102,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
100 | /** | 102 | /** |
101 | * Attempt to instantiate a LinkDB whereas the datastore is not writable | 103 | * Attempt to instantiate a LinkDB whereas the datastore is not writable |
102 | * | 104 | * |
103 | * @expectedException IOException | 105 | * @expectedException Shaarli\Exceptions\IOException |
104 | * @expectedExceptionMessageRegExp /Error accessing "null"/ | 106 | * @expectedExceptionMessageRegExp /Error accessing "null"/ |
105 | */ | 107 | */ |
106 | public function testConstructDatastoreNotWriteable() | 108 | public function testConstructDatastoreNotWriteable() |