From 02cb2c1c26f2631783f534d4a01b7430f8cee209 Mon Sep 17 00:00:00 2001 From: Nicholas Rempel Date: Fri, 26 Nov 2021 14:21:38 -0800 Subject: [PATCH] Move rgp test xml into extensions directory --- epp-client/src/tests/de.rs | 2 +- epp-client/src/tests/se.rs | 4 ++-- .../request/{domain => extensions}/rgp_restore_report.xml | 0 .../request/{domain => extensions}/rgp_restore_request.xml | 0 .../resources/response/{domain => extensions}/rgp_restore.xml | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename epp-client/test/resources/request/{domain => extensions}/rgp_restore_report.xml (100%) rename epp-client/test/resources/request/{domain => extensions}/rgp_restore_request.xml (100%) rename epp-client/test/resources/response/{domain => extensions}/rgp_restore.xml (100%) diff --git a/epp-client/src/tests/de.rs b/epp-client/src/tests/de.rs index db9da1f..6ba0ea8 100644 --- a/epp-client/src/tests/de.rs +++ b/epp-client/src/tests/de.rs @@ -635,7 +635,7 @@ mod response { #[test] fn rgp_restore_response() { - let xml = get_xml("response/domain/rgp_restore.xml").unwrap(); + let xml = get_xml("response/extensions/rgp_restore.xml").unwrap(); let object = DomainUpdate::::deserialize_response(xml.as_str()).unwrap(); let ext = object.extension.unwrap(); diff --git a/epp-client/src/tests/se.rs b/epp-client/src/tests/se.rs index 8cb5626..f0b9cff 100644 --- a/epp-client/src/tests/se.rs +++ b/epp-client/src/tests/se.rs @@ -522,7 +522,7 @@ mod request { #[test] fn rgp_restore_request() { - let xml = get_xml("request/domain/rgp_restore_request.xml").unwrap(); + let xml = get_xml("request/extensions/rgp_restore_request.xml").unwrap(); let domain_restore_request = RgpRestoreRequest::new(); @@ -543,7 +543,7 @@ mod request { #[test] fn rgp_restore_report() { - let xml = get_xml("request/domain/rgp_restore_report.xml").unwrap(); + let xml = get_xml("request/extensions/rgp_restore_report.xml").unwrap(); let pre_data = "Pre-delete registration data goes here. Both XML and free text are allowed."; diff --git a/epp-client/test/resources/request/domain/rgp_restore_report.xml b/epp-client/test/resources/request/extensions/rgp_restore_report.xml similarity index 100% rename from epp-client/test/resources/request/domain/rgp_restore_report.xml rename to epp-client/test/resources/request/extensions/rgp_restore_report.xml diff --git a/epp-client/test/resources/request/domain/rgp_restore_request.xml b/epp-client/test/resources/request/extensions/rgp_restore_request.xml similarity index 100% rename from epp-client/test/resources/request/domain/rgp_restore_request.xml rename to epp-client/test/resources/request/extensions/rgp_restore_request.xml diff --git a/epp-client/test/resources/response/domain/rgp_restore.xml b/epp-client/test/resources/response/extensions/rgp_restore.xml similarity index 100% rename from epp-client/test/resources/response/domain/rgp_restore.xml rename to epp-client/test/resources/response/extensions/rgp_restore.xml