]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/CacheTest.php
application: refactor version checks, move to ApplicationUtils
[github/shaarli/Shaarli.git] / tests / CacheTest.php
index aa5395b0ab8f16b1906dfa8ece3b1976a43d9d94..eacd4487dd73f908a17ea999deaffc86663f44f0 100644 (file)
@@ -11,10 +11,10 @@ require_once 'application/Cache.php';
 /**
  * Unitary tests for cached pages
  */
-class CachedTest extends PHPUnit_Framework_TestCase
+class CacheTest extends PHPUnit_Framework_TestCase
 {
     // test cache directory
-    protected static $testCacheDir = 'tests/dummycache';
+    protected static $testCacheDir = 'sandbox/dummycache';
 
     // dummy cached file names / content
     protected static $pages = array('a', 'toto', 'd7b59c');
@@ -56,7 +56,7 @@ class CachedTest extends PHPUnit_Framework_TestCase
     public function testPurgeCachedPagesMissingDir()
     {
         $this->assertEquals(
-            'Cannot purge tests/dummycache_missing: no directory',
+            'Cannot purge sandbox/dummycache_missing: no directory',
             purgeCachedPages(self::$testCacheDir.'_missing')
         );
     }