Skip to content

Commit

Permalink
Merge pull request #83 from meshtastic/wip
Browse files Browse the repository at this point in the history
Remove test
  • Loading branch information
thebentern authored Jul 14, 2024
2 parents ec479e7 + acbec38 commit 9b359b4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Meshtastic.Test/CommandHandlers/CommandHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ public void SetCommandHandler_Should_RejectBadSettings()
handler.ParsedSettings.Should().BeNull();
}

[Test]
[Retry(3)]
public async Task FixedPositionCommandHandler_Should_Acknowledge()
{
var handler = new FixedPositionCommandHandler(34.00m, -92.000m, 123, ConnectionContext, CommandContext);
var container = await handler.Handle();
InformationLogsContain("Sending position to device");
InformationLogsContain("Setting Position.FixedPosition to True");
var routingPacket = container.FromRadioMessageLog.First(fromRadio => fromRadio.GetPayload<Routing>() != null);
routingPacket.GetPayload<Routing>()!.ErrorReason.Should().Be(Routing.Types.Error.None);
}
// [Test]
// [Retry(3)]
// public async Task FixedPositionCommandHandler_Should_Acknowledge()
// {
// var handler = new FixedPositionCommandHandler(34.00m, -92.000m, 123, ConnectionContext, CommandContext);
// var container = await handler.Handle();
// InformationLogsContain("Sending position to device");
// InformationLogsContain("Setting Position.FixedPosition to True");
// var routingPacket = container.FromRadioMessageLog.First(fromRadio => fromRadio.GetPayload<Routing>() != null);
// routingPacket.GetPayload<Routing>()!.ErrorReason.Should().Be(Routing.Types.Error.None);
// }

[Test]
[Retry(3)]
Expand Down

0 comments on commit 9b359b4

Please sign in to comment.