mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-29 11:42:35 +01:00
WireMock.Net.FluentAssertions : upgrade to latest FluentAssertions (#635)
* . * #634 * fix UT
This commit is contained in:
1 parent
772398bea1
commit
2ab075ee09
13 files changed
+160
-142
No files matched your search
@@ -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