diff --git a/BitwardenShared/Core/Platform/Services/API/TestHelpers/APITestData.swift b/BitwardenShared/Core/Platform/Services/API/TestHelpers/APITestData.swift index 2a28bf030..cd4f8fdb5 100644 --- a/BitwardenShared/Core/Platform/Services/API/TestHelpers/APITestData.swift +++ b/BitwardenShared/Core/Platform/Services/API/TestHelpers/APITestData.swift @@ -16,6 +16,10 @@ struct APITestData { fatalError("Unable to load data from \(resource).\(`extension`) in the bundle. Error: \(error)") } } + + static func loadFromJsonBundle(resource: String) -> APITestData { + loadFromBundle(resource: resource, extension: "json") + } } extension APITestData {