fix tests
This commit is contained in:
@@ -22,9 +22,9 @@ public class ITelegramBotClientWrapperTests : UnitTestBase
|
||||
// GetMeAsync method
|
||||
var getMeAsyncMethod = methods.FirstOrDefault(m => m.Name == "GetMeAsync");
|
||||
getMeAsyncMethod.Should().NotBeNull();
|
||||
getMeAsyncMethod!.ReturnType.Should().Be(typeof(Task<User>));
|
||||
getMeAsyncMethod!.ReturnType.Should().Be<Task<User>>();
|
||||
getMeAsyncMethod.GetParameters().Should().HaveCount(1);
|
||||
getMeAsyncMethod.GetParameters()[0].ParameterType.Should().Be(typeof(CancellationToken));
|
||||
getMeAsyncMethod.GetParameters()[0].ParameterType.Should().Be<CancellationToken>();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user