diff --git a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AcceptanceTests.cs b/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AcceptanceTests.cs
index 01096a1933697..84059d75c8401 100644
--- a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AcceptanceTests.cs
+++ b/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AcceptanceTests.cs
@@ -117,7 +117,7 @@ public static void Web()
public static void WebYaml()
{
// same test as Web(), but converted to YAML
- RunSwaggerTest("web.yaml", "Web");
+ RunSwaggerTest("Web", "2015-08-01", "web.yaml");
}
private static void RunSwaggerTest(string resourceType, string apiVersion, string swaggerFileName)
diff --git a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj b/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj
index 90d44c80297fa..1de04625cf01a 100644
--- a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj
+++ b/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj
@@ -189,7 +189,7 @@
PreserveNewest
-
+
PreserveNewest
diff --git a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/Swagger/web.yaml b/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/Swagger/Web/2015-08-01/web.yaml
similarity index 100%
rename from AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/Swagger/web.yaml
rename to AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/Swagger/Web/2015-08-01/web.yaml