X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2FLinkDBTest.php;h=9b2f35e6a678ff6fc97a1d2a2f0157864f6ad096;hp=c763c0cbd5f34ce7797658b7bcae2e72829f3290;hb=f3d2f257946e2a3c8791c1ba99b379acbe934fec;hpb=bdc5152d486ca75372c271f94623b248bc127800 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 @@ * Link datastore tests */ +use Shaarli\Exceptions\IOException; + require_once 'application/Cache.php'; require_once 'application/FileUtils.php'; require_once 'application/LinkDB.php'; @@ -100,7 +102,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase /** * Attempt to instantiate a LinkDB whereas the datastore is not writable * - * @expectedException IOException + * @expectedException Shaarli\Exceptions\IOException * @expectedExceptionMessageRegExp /Error accessing "null"/ */ public function testConstructDatastoreNotWriteable()