4869: Work order listing and print work orders reports should omit voided orders...
[fa-stable.git] / includes / system_tests.inc
index ab9aac21a73ac33b84e45eddcdb366bb88385f92..17d89b63b433a26b44a9bcc8fa89b831c070f588 100644 (file)
@@ -224,7 +224,7 @@ function tst_tmpdir()
        
        $test['descr'] = _('Temporary directory');
        $test['type'] = 3;
-       $test['test'] = $path_to_root.'/tmp';
+       $test['test'] = VARLIB_PATH;
        $test['result'] = is_dir($test['test']) && is_writable($test['test']);
        $test['comments'][] = sprintf(_("'%s' is not writeable"), $test['test']);
        return $test;
@@ -378,8 +378,8 @@ function tst_extconfig($install)
        $themedir = opendir($fname);
        while (false !== ($fname = readdir($themedir)))
        {
-               if ($fname!='.' && $fname!='..' && $fname!='CVS' && is_dir($path_to_root.'/themes/'.$fname)
-                       && !in_array($fname, array('aqua', 'cool', 'default')))
+               if ($fname!='.' && $fname!='..' && is_dir($path_to_root.'/themes/'.$fname)
+                       && !in_array($fname, array('canvas', 'default', 'dropdown')))
                {
                        $test['test'][] = $fname;
                        $test['result'] = is_writable($path_to_root.'/themes/'.$fname);