Skip to content

Commit

Permalink
Address code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Oct 24, 2023
1 parent 41dce19 commit 7f71a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Microsoft.OpenApi.Tests/Models/OpenApiLinkTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -41,7 +41,7 @@ public class OpenApiLinkTests
}
};

public static OpenApiLink ReferencedLink = new()
public static readonly OpenApiLink ReferencedLink = new()
{
Reference = new()
{
Expand Down

0 comments on commit 7f71a4f

Please sign in to comment.