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,11 +1,6 @@
// Copyright © WireMock.Net
#if NET452
using Microsoft.Owin;
#else
using Microsoft.AspNetCore.Http;
#endif
using NFluent;
using WireMock.Util;
namespace WireMock.Net.Tests.Util;
@@ -22,8 +17,8 @@ public class UrlUtilsTests
var result = UrlUtils.Parse(uri, new PathString("/a"));
// Assert
Check.That(result.Url.ToString()).Equals("https://localhost:1234/b?x=0");
Check.That(result.AbsoluteUrl.ToString()).Equals("https://localhost:1234/a/b?x=0");
result.Url.ToString().Should().Be("https://localhost:1234/b?x=0");
result.AbsoluteUrl.ToString().Should().Be("https://localhost:1234/a/b?x=0");
}
[Fact]
@@ -36,8 +31,8 @@ public class UrlUtilsTests
var result = UrlUtils.Parse(uri, new PathString());
// Assert
Check.That(result.Url.ToString()).Equals("https://localhost:1234/a/b?x=0");
Check.That(result.AbsoluteUrl.ToString()).Equals("https://localhost:1234/a/b?x=0");
result.Url.ToString().Should().Be("https://localhost:1234/a/b?x=0");
result.AbsoluteUrl.ToString().Should().Be("https://localhost:1234/a/b?x=0");
}
[Fact]
@@ -50,7 +45,7 @@ public class UrlUtilsTests
var result = UrlUtils.Parse(uri, new PathString("/test"));
// Assert
Check.That(result.Url.ToString()).Equals("https://localhost:1234/a/b?x=0");
Check.That(result.AbsoluteUrl.ToString()).Equals("https://localhost:1234/a/b?x=0");
result.Url.ToString().Should().Be("https://localhost:1234/a/b?x=0");
result.AbsoluteUrl.ToString().Should().Be("https://localhost:1234/a/b?x=0");
}
}