diff --git a/apps/epp_proxy/priv/epp-proxy-test.crt.pem b/apps/epp_proxy/test/certs/epp-proxy-test.crt.pem similarity index 100% rename from apps/epp_proxy/priv/epp-proxy-test.crt.pem rename to apps/epp_proxy/test/certs/epp-proxy-test.crt.pem diff --git a/apps/epp_proxy/priv/epp-proxy-test.key.pem b/apps/epp_proxy/test/certs/epp-proxy-test.key.pem similarity index 100% rename from apps/epp_proxy/priv/epp-proxy-test.key.pem rename to apps/epp_proxy/test/certs/epp-proxy-test.key.pem diff --git a/apps/epp_proxy/test/epp_certs_tests.erl b/apps/epp_proxy/test/epp_certs_tests.erl index b02e75f..3a5e100 100644 --- a/apps/epp_proxy/test/epp_certs_tests.erl +++ b/apps/epp_proxy/test/epp_certs_tests.erl @@ -3,9 +3,6 @@ -include_lib("eunit/include/eunit.hrl"). -include_lib("public_key/include/public_key.hrl"). --define(exampleCertFile, lists:flatten([code:lib_dir(epp_proxy, priv), - "epp-proxy-test.crt.pem"])). - der_certificate_test() -> PemEntries = public_key:pem_decode(certificate_pem()), {value, CertEntry} = lists:keysearch('Certificate', 1, PemEntries), @@ -31,7 +28,6 @@ test_certificate() -> Decoded = public_key:pkix_decode_cert(DerCert, otp), Decoded. -%% Contents from fixtures/epp-proxy-test.crt.pem file certificate_pem() -> <<"-----BEGIN CERTIFICATE----- MIIGWzCCBEOgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwgaoxCzAJBgNVBAYTAkVF