diff --git a/test/Microsoft.OpenApi.Tests/Models/OpenApiLinkTests.cs b/test/Microsoft.OpenApi.Tests/Models/OpenApiLinkTests.cs index ad02e1e4e..2f4a532a7 100644 --- a/test/Microsoft.OpenApi.Tests/Models/OpenApiLinkTests.cs +++ b/test/Microsoft.OpenApi.Tests/Models/OpenApiLinkTests.cs @@ -17,7 +17,7 @@ namespace Microsoft.OpenApi.Tests.Models [UsesVerify] public class OpenApiLinkTests { - public static OpenApiLink AdvancedLink = new() + public static readonly OpenApiLink AdvancedLink = new() { OperationId = "operationId1", Parameters = @@ -41,7 +41,7 @@ public class OpenApiLinkTests } }; - public static OpenApiLink ReferencedLink = new() + public static readonly OpenApiLink ReferencedLink = new() { Reference = new() {