Skip to content

Commit

Permalink
test: Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jul 18, 2024
1 parent 27600ff commit 432cf50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/OpenAI.IntegrationTests/Tests.Images.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public async Task CreateImage_Url()
var response = await api.Images.CreateImageAsync(
prompt: "a white siamese cat",
n: 1,
size: CreateImageRequestSize._256x256,
size: CreateImageRequestSize.x256x256,
responseFormat: CreateImageRequestResponseFormat.Url,
user: "tryAGI.OpenAI.IntegrationTests.Tests.CreateImage_Url");
response.Data.ElementAt(0).Url.Should().NotBeNullOrEmpty();
Expand All @@ -29,7 +29,7 @@ public async Task CreateImage_Base64()
var response = await api.Images.CreateImageAsync(
prompt: "a white siamese cat",
n: 1,
size: CreateImageRequestSize._256x256,
size: CreateImageRequestSize.x256x256,
responseFormat: CreateImageRequestResponseFormat.B64Json,
user: "tryAGI.OpenAI.IntegrationTests.Tests.CreateImage_Base64");
var base64 = response.Data.ElementAt(0).B64Json;
Expand Down

0 comments on commit 432cf50

Please sign in to comment.