mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 16:58:27 +02:00
remove nfluent
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user