server/src/tests/Libraries/Transcript/TranscriberTranscriptConverterTest.php
changeset 163 59c68fc4848e
parent 162 a6cf5a06f02d
--- a/server/src/tests/Libraries/Transcript/TranscriberTranscriptConverterTest.php	Sat May 28 11:49:38 2016 +0200
+++ b/server/src/tests/Libraries/Transcript/TranscriberTranscriptConverterTest.php	Sun May 29 16:50:17 2016 +0200
@@ -18,8 +18,7 @@
         $this->graph = new EasyRdf\Graph(config('corpusparole.corpus_doc_id_base_uri').self::TEST_DOC_BASE, $graphContent);
         $this->doc = new Document(config('corpusparole.corpus_doc_id_base_uri').self::TEST_DOC_BASE, $this->graph);
 
-        $this->transcriptSource = new DOMDocument();
-        $this->transcriptSource->load(__DIR__ . DIRECTORY_SEPARATOR . self::TEST_DOC_BASE.".xml", LIBXML_NOCDATA|LIBXML_NOBLANKS);
+        $this->transcriptSource = file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . self::TEST_DOC_BASE.".xml");
 
     }