From 0097014097975dd7f42164bb23aab603243d33aa Mon Sep 17 00:00:00 2001 From: brunohashimoto Date: Mon, 22 Jan 2024 19:46:47 -0400 Subject: [PATCH] fix new version --- Tests/GenericCallerTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/GenericCallerTests.cs b/Tests/GenericCallerTests.cs index 8f18270..69ef5c0 100644 --- a/Tests/GenericCallerTests.cs +++ b/Tests/GenericCallerTests.cs @@ -26,7 +26,7 @@ public async Task Call_ShouldReturnContent() }; // Act - var result = await GenericCaller.Call(type, action, content, config); + var result = await ApiBrasilCommunity.ApiBrasilCaller(type, action, content, config); // Assert result.Should().NotBeNull(); @@ -40,7 +40,7 @@ public async Task Call_ShouldThrowArgumentNullException() // Arrange var type = "exampleType"; var action = "exampleAction"; - object? content = null; // Definir content como null para gerar ArgumentNullException + object content = null; // Definir content como null para gerar ArgumentNullException var config = new ApiBrasilConfiguration { DeviceToken = "exampleDeviceToken", @@ -48,7 +48,7 @@ public async Task Call_ShouldThrowArgumentNullException() }; // Act - Func func = async () => await GenericCaller.Call(type, action, content, config); + Func func = async () => await ApiBrasilCommunity.ApiBrasilCaller(type, action, content, config); // Assert await func.Should().ThrowAsync();