diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php index 4f5ee4842769cdde03e25444c98912f20b1d57da..c2b022974910545a427b76abeeb9ed99a0a1b602 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php @@ -158,11 +158,12 @@ class RecordDataFormatterTest extends \VuFindTest\Unit\ViewHelperTestCase $formatter = $this->getFormatter(); $spec = $formatter->getDefaults('core'); $spec['Building'] = [ - 'dataMethod' => 'getBuilding', 'pos' => 0, 'context' => ['foo' => 1] + 'dataMethod' => 'getBuilding', 'pos' => 0, 'context' => ['foo' => 1], + 'translationTextDomain' => 'prefix_' ]; $expected = [ - 'Building' => '0', + 'Building' => 'prefix_0', 'Published in' => '0', 'Main Author' => 'Vico, Giambattista, 1668-1744.', 'Other Authors' => 'Pandolfi, Claudia.',