Skip to content

Commit

Permalink
Merge pull request #65 from jodendaal/RemoveTextEdit-Deprecated
Browse files Browse the repository at this point in the history
Ignore case on text result
  • Loading branch information
jodendaal committed Mar 25, 2023
2 parents 6f7339a + 63066b0 commit e296260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public async Task GetWithListExtension(string model, bool isSuccess, HttpStatusC
Assert.That(response.Result?.Choices?.Count() == 1, Is.EqualTo(isSuccess), "Choices are not mapped correctly");
if (isSuccess)
{
Assert.That(response.Result?.Choices?.FirstOrDefault()?.Message.Content.Contains("Globe Life Field"), Is.EqualTo(true), "Incorrect answer");
Assert.That(response.Result?.Choices?.FirstOrDefault()?.Message.Content.Contains("Globe Life Field",StringComparison.InvariantCultureIgnoreCase), Is.EqualTo(true), $"Incorrect answer {response.Result?.Choices?.FirstOrDefault()?.Message.Content}");
}
}

Expand Down

0 comments on commit e296260

Please sign in to comment.