Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Feb 26, 2024
1 parent 7122728 commit 36c45a9
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ public void GetEndpoints_HasEndpointAndService_Results()
services: [new ResourceServiceViewModel("Test", "localhost", 8080), new ResourceServiceViewModel("Test2", "localhost", 8083)]));

Assert.Collection(endpoints,
e =>
{
Assert.Equal("http://localhost:8081", e.Text);
Assert.Equal("ProxyUrl", e.Name);
Assert.Equal("http://localhost:8081", e.Url);
Assert.Equal("localhost", e.Address);
Assert.Equal(8081, e.Port);
},
e =>
{
Assert.Equal("localhost:8080", e.Text);
Expand All @@ -62,14 +70,6 @@ public void GetEndpoints_HasEndpointAndService_Results()
Assert.Null(e.Url);
Assert.Equal("localhost", e.Address);
Assert.Equal(8083, e.Port);
},
e =>
{
Assert.Equal("http://localhost:8081", e.Text);
Assert.Equal("ProxyUrl", e.Name);
Assert.Equal("http://localhost:8081", e.Url);
Assert.Equal("localhost", e.Address);
Assert.Equal(8081, e.Port);
});
}

Expand Down

0 comments on commit 36c45a9

Please sign in to comment.