Allow https links to the library of congress subject headings
This commit is contained in:
@ -40,9 +40,9 @@ final class MDNodaRepositoryTest extends TestCase {
|
||||
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"));
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user