tests: fix assertions
This commit is contained in:
@@ -976,7 +976,7 @@ public class AnthropicApiClientTests : IntegrationTest
|
|||||||
|
|
||||||
var result = await Client.GetModelAsync(modelId);
|
var result = await Client.GetModelAsync(modelId);
|
||||||
|
|
||||||
result.IsSuccess.Should().BeFalse();
|
result.IsSuccess.Should().BeTrue();
|
||||||
result.Error.Should().BeOfType<AnthropicModel>();
|
result.Value.Should().BeOfType<AnthropicModel>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user