Allow https links to the library of congress subject headings

This commit is contained in:
jrenslin committed 2023-07-27 01:43:54 +02:00
1 parent 0e86361968
commit f5673c69fd
2 files changed
+7 -4

No files matched your search

+3 -3
View File
@@ -40,9 +40,9 @@ public function testValidIdsValidate():void {
self::assertNotFalse(MDNodaRepository::loc->validateId("n2022014604"));
self::assertNotFalse(MDNodaRepository::loc->validateId("https://id.loc.gov/authorities/names/n2022014604"));
self::assertNotFalse(MDNodaRepository::loc->validateId("http://id.loc.gov/authorities/names/n2022014604"));
self::assertNotFalse(MDNodaRepository::loc->validateId("n2022014604"));
self::assertNotFalse(MDNodaRepository::lcsh->validateId("https://id.loc.gov/authorities/names/sh2022014604"));
self::assertNotFalse(MDNodaRepository::lcsh->validateId("http://id.loc.gov/authorities/names/sh2022014604"));
self::assertNotFalse(MDNodaRepository::lcsh->validateId("sh2022014604"));
}
}