tommystanton / webservice-mirth

Interact with a Mirth Connect server via REST
https://metacpan.org/module/WebService::Mirth
1 stars 0 forks source link

Remove monkey patching related to HTTP server in test #4

Open tommystanton opened 7 years ago

tommystanton commented 7 years ago

t/mock_mirth.t has these lines:

my %certs_args = (
    SSL_key_file  => $cert_dir->file('server-key.pem')->stringify,
    SSL_cert_file => $cert_dir->file('server-cert.pem')->stringify,
);
%certs_args, # XXX Monkey patch

This idea should no longer be needed, thanks to version 0.08 of Test::Fake::HTTPD (an issue I opened, masaki/Test-Fake-HTTPD#1, was recently resolved). Instead, extra_daemon_args would be used to set SSL_key_file and SSL_cert_file.