refs #20476 [finc] remove deprecated method getExternalAccessLinks from record view helper
* also delete obsolete sample configuration from config.ini * fix and update test for ExternalCatalogueLink ** use record_id instead of ppn ** fix mocking expactations ** use test by calling: docker exec -it [your_favorite_vufind_folder]_php_1 sh -c "vendor/bin/phpunit --configuration module/finc/tests/phpunit.xml module/finc/tests/unit-tests/src/fincTest/View/Helper/Root/ExternalCatalogueLinkTest.php"
Showing
- local/config/vufind/config.ini 0 additions, 11 deletionslocal/config/vufind/config.ini
- module/finc/src/finc/View/Helper/Root/Record.php 0 additions, 68 deletionsmodule/finc/src/finc/View/Helper/Root/Record.php
- module/finc/tests/fixtures/externallink/testexternallink1.json 1 addition, 1 deletion...e/finc/tests/fixtures/externallink/testexternallink1.json
- module/finc/tests/unit-tests/src/fincTest/View/Helper/Root/ExternalCatalogueLinkTest.php 18 additions, 13 deletions...c/fincTest/View/Helper/Root/ExternalCatalogueLinkTest.php
Please register or sign in to comment