Skip to content

Commit 75c9d3a

Browse files
committed
Better test name
1 parent 2365ac4 commit 75c9d3a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ServiceControl.UnitTests/Operations/EndpointDetailsParserTests.cs renamed to src/ServiceControl.UnitTests/Operations/When_parsing_receive_endpoint.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ namespace ServiceControl.UnitTests.Operations;
77
using ServiceControl.Infrastructure;
88

99
[TestFixture]
10-
public class EndpointDetailsParserTests
10+
public class When_parsing_receive_endpoint
1111
{
1212
[Test]
13-
public void Receiving_endpoint_should_use_failed_queue_machine_when_host_is_missing()
13+
public void Should_infer_host_from_machine_name_in_failed_queue_when_host_header_is_missing()
1414
{
1515
var headers = new Dictionary<string, string>
1616
{
@@ -29,7 +29,7 @@ public void Receiving_endpoint_should_use_failed_queue_machine_when_host_is_miss
2929
}
3030

3131
[Test]
32-
public void Receiving_endpoint_should_use_unknown_host_when_failed_queue_is_used_to_infer_endpoint_name()
32+
public void Should_fallback_to_unknown_if_host_can_not_be_determined()
3333
{
3434
var headers = new Dictionary<string, string>
3535
{

0 commit comments

Comments
 (0)