From 4bf35ba56bb9f06de0cb9ab920b799a39f8eaffc Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 24 Nov 2015 02:52:22 +0100 Subject: application: refactor version checks, move to ApplicationUtils Relates to #372 Modifications: - move checkUpdate() to ApplicationUtils - reduce file I/O operations during version checks - apply coding conventions - add test coverage Tools: - create a sandbox directory for tests Signed-off-by: VirtualTam --- tests/CachedPageTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/CachedPageTest.php') diff --git a/tests/CachedPageTest.php b/tests/CachedPageTest.php index e97af030..51565cd6 100644 --- a/tests/CachedPageTest.php +++ b/tests/CachedPageTest.php @@ -11,7 +11,7 @@ require_once 'application/CachedPage.php'; class CachedPageTest extends PHPUnit_Framework_TestCase { // test cache directory - protected static $testCacheDir = 'tests/pagecache'; + protected static $testCacheDir = 'sandbox/pagecache'; protected static $url = 'http://shaar.li/?do=atom'; protected static $filename; -- cgit v1.2.3