From 8722e9f294e02c3bbe4ddfa3f938d6beb75e0d2f Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Thu, 19 Aug 2021 17:45:20 -0400 Subject: [PATCH] move around fixtures --- src/accountmanager.rs | 4 ++-- .../maFiles/{ => compat}/1-account-encrypted/1234.maFile | 0 .../maFiles/{ => compat}/1-account-encrypted/manifest.json | 0 src/fixtures/maFiles/{ => compat}/1-account/1234.maFile | 0 src/fixtures/maFiles/{ => compat}/1-account/manifest.json | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename src/fixtures/maFiles/{ => compat}/1-account-encrypted/1234.maFile (100%) rename src/fixtures/maFiles/{ => compat}/1-account-encrypted/manifest.json (100%) rename src/fixtures/maFiles/{ => compat}/1-account/1234.maFile (100%) rename src/fixtures/maFiles/{ => compat}/1-account/manifest.json (100%) diff --git a/src/accountmanager.rs b/src/accountmanager.rs index f317679..160b971 100644 --- a/src/accountmanager.rs +++ b/src/accountmanager.rs @@ -392,7 +392,7 @@ mod tests { #[test] fn test_sda_compatibility_1() { - let path = Path::new("src/fixtures/maFiles/1-account/manifest.json"); + let path = Path::new("src/fixtures/maFiles/compat/1-account/manifest.json"); assert!(path.is_file()); let result = Manifest::load(path); assert!(matches!(result, Ok(_))); @@ -413,7 +413,7 @@ mod tests { #[test] fn test_sda_compatibility_1_encrypted() { - let path = Path::new("src/fixtures/maFiles/1-account-encrypted/manifest.json"); + let path = Path::new("src/fixtures/maFiles/compat/1-account-encrypted/manifest.json"); assert!(path.is_file()); let result = Manifest::load(path); assert!(matches!(result, Ok(_))); diff --git a/src/fixtures/maFiles/1-account-encrypted/1234.maFile b/src/fixtures/maFiles/compat/1-account-encrypted/1234.maFile similarity index 100% rename from src/fixtures/maFiles/1-account-encrypted/1234.maFile rename to src/fixtures/maFiles/compat/1-account-encrypted/1234.maFile diff --git a/src/fixtures/maFiles/1-account-encrypted/manifest.json b/src/fixtures/maFiles/compat/1-account-encrypted/manifest.json similarity index 100% rename from src/fixtures/maFiles/1-account-encrypted/manifest.json rename to src/fixtures/maFiles/compat/1-account-encrypted/manifest.json diff --git a/src/fixtures/maFiles/1-account/1234.maFile b/src/fixtures/maFiles/compat/1-account/1234.maFile similarity index 100% rename from src/fixtures/maFiles/1-account/1234.maFile rename to src/fixtures/maFiles/compat/1-account/1234.maFile diff --git a/src/fixtures/maFiles/1-account/manifest.json b/src/fixtures/maFiles/compat/1-account/manifest.json similarity index 100% rename from src/fixtures/maFiles/1-account/manifest.json rename to src/fixtures/maFiles/compat/1-account/manifest.json