Skip to content
Snippets Groups Projects
Commit 42dfc826 authored by efalcy's avatar efalcy
Browse files

dev #73934 : fix tests

parent 19b18508
3 merge requests!2660Master,!2619Dev#73934 explo suivi bibliondemand,!2610dev #73934 : explo bibliondemand , cosmogrammme can handle bibliondemand xml file
Pipeline #3936 failed with stage
in 27 minutes and 34 seconds
......@@ -57,17 +57,9 @@ abstract class AbstractRecordPhaseBibliondemandTestCase extends PhaseNoticeTestC
Class_Cosmogramme_Integration::find(999)
->setIdBib(3)
->setFichier('http://oai.bibliondemand.com/oaiserver.ashx?verb=ListRecords&metadataPrefix=oai_dc&set=CG62')
->setFichier('Bibliondemand.xml')
->save();
$xml = file_get_contents(__DIR__.'/Bibliondemand.xml');
$webclient = $this->mock();
$webclient->whenCalled('open_url')
->with('http://oai.bibliondemand.com/oaiserver.ashx?verb=ListRecords&metadataPrefix=oai_dc&set=CG62')
->answers($xml)
->beStrict();
Class_WebService_OAI::setDefaultHttpClient($webclient);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment