Skip to content

Commit

Permalink
chore: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Aug 18, 2023
1 parent 3ebefb8 commit 952e343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void ParseForAbsoluteUriWithOutProtocol()
{
var uri = UriParsingHelper.Parse(_absoluteUriWithOutProtocol);
Assert.NotNull(uri);
Assert.Equal("app://prismapp.maui" + _absoluteUriWithOutProtocol, uri.OriginalString);
Assert.Equal("http://localhost" + _absoluteUriWithOutProtocol, uri.OriginalString);
Assert.True(uri.IsAbsoluteUri);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void GeneratesAbsoluteUriWithSingleSegment()
.UseAbsoluteNavigation()
.Uri;

Assert.Equal("app://prismapp.maui/ViewA", uri.ToString());
Assert.Equal("http://localhost/ViewA", uri.ToString());
}

[Fact]
Expand All @@ -57,7 +57,7 @@ public void GeneratesAbsoluteUriWithMultipleSegments()
.UseAbsoluteNavigation()
.Uri;

Assert.Equal("app://prismapp.maui/ViewA/ViewB/ViewC", uri.ToString());
Assert.Equal("http://localhost/ViewA/ViewB/ViewC", uri.ToString());
}

[Fact]
Expand Down

0 comments on commit 952e343

Please sign in to comment.