Skip to content

Commit

Permalink
test: add test case
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Jan 30, 2024
1 parent 793c8d2 commit acd5401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Notation.Plugin.AzureKeyVault.Tests/ProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ internal interface IResponseMock
[InlineData(500, "{\"error\":{\"message\":\"TestErrorMessage\"}", "Service request failed.\nStatus: 500\n\nHeaders:\n")]
[InlineData(500, "{\"error2\":{\"message\":\"TestErrorMessage\"}}", "Service request failed.\nStatus: 500\n\nHeaders:\n")]
[InlineData(500, "{\"error\":{\"message2\":\"TestErrorMessage\"}}", "Service request failed.\nStatus: 500\n\nHeaders:\n")]
[InlineData(500, "{\"error\":{\"message2\":\"\"}}", "Service request failed.\nStatus: 500\n\nHeaders:\n")]
public void HandleAzureException(int code, string content, string expectedErrorMessage)
{
// Arrange
Expand Down

0 comments on commit acd5401

Please sign in to comment.