Merge pull request #2490 from KallooaSan/PHRAS-1856_PORT-PHRAS-1347

PHRAS-1856_PORT-PHRAS-1347
This commit is contained in:
Nicolas Maillat
2018-03-05 11:31:27 +01:00
committed by GitHub
8 changed files with 37 additions and 15 deletions

View File

@@ -296,8 +296,8 @@ class LazaretTest extends \PhraseanetAuthenticatedWebTestCase
//expect one call to substitute the documents
self::$DI['app']['subdef.substituer']->expects($this->once())
->method('substitute')
->with($record, $this->equalTo('document'));
->method('substituteDocument')
->with($record);
$databox = $this->getMock('databox', [], [], '', false);