From 49fed9ef111e7540636ae13afe78824c2d6b8ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Mon, 29 Dec 2014 06:20:01 +0100 Subject: [PATCH] Fix the huge hack to start tests on Windows 8. --- test/OPDSTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/OPDSTest.php b/test/OPDSTest.php index f338291..3bda649 100644 --- a/test/OPDSTest.php +++ b/test/OPDSTest.php @@ -30,7 +30,7 @@ class OpdsTest extends PHPUnit_Framework_TestCase $path = ""; if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { // huge hack, not proud about it - $path = "c:\\Progra~1\\Java\\jre7\\bin\\"; + $path = "c:\\Progra~1\\Java\\jre1.8.0_25\\bin\\"; } $res = system($path . 'java -jar ' . JING_JAR . ' ' . $relax . ' ' . $feed); if ($res != '') { @@ -46,7 +46,7 @@ class OpdsTest extends PHPUnit_Framework_TestCase $path = ""; if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { // huge hack, not proud about it - $path = "c:\\Progra~1\\Java\\jre7\\bin\\"; + $path = "c:\\Progra~1\\Java\\jre1.8.0_25\\bin\\"; } $res = system($path . 'java -jar ' . OPDSVALIDATOR_JAR . ' ' . $feed); chdir($oldcwd);