Fix #1707 : Update technical informations and metadata fields on record substitution

This commit is contained in:
Romain Neutron
2014-02-28 16:15:28 +01:00
parent af9259d0cc
commit 5585d7f7bd
11 changed files with 291 additions and 261 deletions

View File

@@ -408,7 +408,7 @@ class ManagerTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
->getMock();
$manager = new ManagerTester(self::$DI['app']);
$manager->setPdfToText($pdfToText);
self::$DI['app']['phraseanet.metadata-reader']->setPdfToText($pdfToText);
$pdfToText->expects($this->once())
->method('getText')