Move rgp test xml into extensions directory

This commit is contained in:
Nicholas Rempel 2021-11-26 14:21:38 -08:00 committed by masalachai
parent f3e8447c0d
commit 02cb2c1c26
5 changed files with 3 additions and 3 deletions

View File

@ -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::<RgpRestoreRequest>::deserialize_response(xml.as_str()).unwrap();
let ext = object.extension.unwrap();

View File

@ -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.";