remove nfluent

This commit is contained in:
Stef Heyenrath
2026-02-26 22:02:54 +01:00
parent c4c8ad3fa9
commit 62d0b0db5b
142 changed files with 899 additions and 1020 deletions

View File

@@ -1,7 +1,5 @@
// Copyright © WireMock.Net
using AwesomeAssertions;
using NFluent;
using WireMock.Matchers;
using WireMock.Owin;
using WireMock.Server;
@@ -21,9 +19,9 @@ namespace WireMock.Net.Tests
// Assert
var options = server.GetPrivateFieldValue<IWireMockMiddlewareOptions>("_options");
Check.That(options.AuthenticationMatcher.Name).IsEqualTo("BasicAuthenticationMatcher");
Check.That(options.AuthenticationMatcher.MatchBehaviour).IsEqualTo(MatchBehaviour.AcceptOnMatch);
Check.That(options.AuthenticationMatcher.GetPatterns()).ContainsExactly("^(?i)BASIC eDp5$");
options.AuthenticationMatcher.Name.Should().Be("BasicAuthenticationMatcher");
options.AuthenticationMatcher.MatchBehaviour.Should().Be(MatchBehaviour.AcceptOnMatch);
options.AuthenticationMatcher.GetPatterns().Should().ContainSingle("^(?i)BASIC eDp5$");
server.Stop();
}
@@ -57,9 +55,10 @@ namespace WireMock.Net.Tests
// Assert
var options = server.GetPrivateFieldValue<IWireMockMiddlewareOptions>("_options");
Check.That(options.AuthenticationMatcher).IsNull();
options.AuthenticationMatcher.Should().BeNull();
server.Stop();
}
}
}
}