mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-30 06:12:18 +02:00
WireMock.Net.FluentAssertions : upgrade to latest FluentAssertions (#635)
* . * #634 * fix UT
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using FluentAssertions;
|
||||
using HandlebarsDotNet;
|
||||
@@ -216,7 +216,7 @@ namespace WireMock.Net.Tests.ResponseBuilders
|
||||
Func<Task> a = async () => await responseBuilder.ProvideResponseAsync(request, _settings);
|
||||
|
||||
// Assert
|
||||
a.Should().Throw<HandlebarsException>();
|
||||
a.Should().ThrowAsync<HandlebarsException>();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -243,7 +243,7 @@ namespace WireMock.Net.Tests.ResponseBuilders
|
||||
Func<Task> a = async () => await responseBuilder.ProvideResponseAsync(request, _settings);
|
||||
|
||||
// Assert
|
||||
a.Should().Throw<HandlebarsException>();
|
||||
a.Should().ThrowAsync<HandlebarsException>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user