Add more record driver tests and improve code (#1785)
- Add tests for SolrMarcRemote and SolrOverdrive - Includes general style cleanup/improvement - Fixes a bug (typo) in SolrOverdrive - Removes some unneeded SolrOverdrive methods (they were trying to work around MARC-specific logic that doesn't actually exist in SolrMarc)
Showing
- module/VuFind/src/VuFind/RecordDriver/SolrMarcRemote.php 3 additions, 4 deletionsmodule/VuFind/src/VuFind/RecordDriver/SolrMarcRemote.php
- module/VuFind/src/VuFind/RecordDriver/SolrOverdrive.php 66 additions, 145 deletionsmodule/VuFind/src/VuFind/RecordDriver/SolrOverdrive.php
- module/VuFind/tests/unit-tests/src/VuFindTest/RecordDriver/SolrMarcRemoteTest.php 117 additions, 0 deletions...-tests/src/VuFindTest/RecordDriver/SolrMarcRemoteTest.php
- module/VuFind/tests/unit-tests/src/VuFindTest/RecordDriver/SolrOverdriveTest.php 292 additions, 0 deletions...t-tests/src/VuFindTest/RecordDriver/SolrOverdriveTest.php
Please register or sign in to comment