Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-11-05 17:29:26 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-11-05 18:05:06 +0300
commit3ea97634aece2cf1c2294ad07241169174ff3556 (patch)
tree58c30dec285a06bf253a180d7df9bb1ef29c476d
parent982a1cacb37eae87fce12870949655f4895a0c21 (diff)
Move the expected FFS response to the assets
-rw-r--r--assets/response.odt (renamed from lib/response.odt)bin7284 -> 7284 bytes
-rw-r--r--lib/converter.php2
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/response.odt b/assets/response.odt
index 26ad6a1c..26ad6a1c 100644
--- a/lib/response.odt
+++ b/assets/response.odt
Binary files differ
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;