Closed malberts closed 4 days ago
Fixes https://github.com/ProfessionalWiki/PersistentPageIdentifiers/issues/31
Possibly less offensive than https://github.com/ProfessionalWiki/PersistentPageIdentifiers/pull/48
This stubs out the whole repo and replaces it with a hacky config-based test-specific stub ID. So basically it replaces the ID retrieval logic.
I cannot use a similar approach to just stub the IdGenerator when it creates the test pages, because I cannot set config when defining !! article.
config
!! article
Fixes https://github.com/ProfessionalWiki/PersistentPageIdentifiers/issues/31
Possibly less offensive than https://github.com/ProfessionalWiki/PersistentPageIdentifiers/pull/48
This stubs out the whole repo and replaces it with a hacky config-based test-specific stub ID. So basically it replaces the ID retrieval logic.
I cannot use a similar approach to just stub the IdGenerator when it creates the test pages, because I cannot set
config
when defining!! article
.