From 3ea97634aece2cf1c2294ad07241169174ff3556 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Wed, 5 Nov 2014 17:29:26 +0300 Subject: [PATCH] Move the expected FFS response to the assets --- {lib => assets}/response.odt | Bin lib/converter.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib => assets}/response.odt (100%) diff --git a/lib/response.odt b/assets/response.odt similarity index 100% rename from lib/response.odt rename to assets/response.odt diff --git a/lib/converter.php b/lib/converter.php index d8a7b272..b60babc3 100644 --- a/lib/converter.php +++ b/lib/converter.php @@ -29,7 +29,7 @@ class Converter { } public static function checkConnection(){ - $expected = file_get_contents(__DIR__ . '/response.odt'); + $expected = file_get_contents(dirname(__DIR__) . '/assets/response.odt'); $converted = self::convertExternal('', 'odt'); return $converted === $expected;