Skip to content

Commit 6448810

Browse files
committed
[csharp] update sample after OpenAPITools#2528
1 parent e9ef5b9 commit 6448810

File tree

1 file changed

+1
-3
lines changed
  • samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Model

1 file changed

+1
-3
lines changed

samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Model/PetTests.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public class PetTests
4343
[SetUp]
4444
public void Init()
4545
{
46-
// TODO uncomment below to create an instance of Pet
47-
//instance = new Pet();
46+
instance = new Pet(name: "Csharp test", photoUrls: new List<string> { "http://petstore.com/csharp_test" });
4847
}
4948

5049
/// <summary>
@@ -53,7 +52,6 @@ public void Init()
5352
[TearDown]
5453
public void Cleanup()
5554
{
56-
instance = new Pet(name: "Csharp test", photoUrls: new List<string> { "http://petstore.com/csharp_test" });
5755

5856
}
5957

0 commit comments

Comments
 (0)