Skip to content

Commit 373447b

Browse files
cleanup lines that don't do anything. (or at least shouldn't do anything) (#1308)
Co-authored-by: Tomas Hellström <[email protected]>
1 parent 7a9def4 commit 373447b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Runtime/NetDaemon.Runtime.Tests/Integration/TestRuntime.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public async Task TestApplicationReactToNewEvents()
5050

5151
var runnerTask = host.StartAsync(timedCancellationSource.Token);
5252
haRunner.MockConnect();
53-
_ = (NetDaemonRuntime) host.Services.GetService<IRuntime>()!;
5453
await runnerTask.ConfigureAwait(false);
5554

5655
haRunner.ClientMock.ConnectionMock.AddStateChangeEvent(
@@ -89,7 +88,6 @@ public async Task TestApplicationReactToNewEventsAndThrowException()
8988

9089
var runnerTask = host.StartAsync(timedCancellationSource.Token);
9190
haRunner.MockConnect();
92-
_ = (NetDaemonRuntime) host.Services.GetService<IRuntime>()!;
9391

9492
haRunner.ClientMock.ConnectionMock.AddStateChangeEvent(
9593
new HassState

0 commit comments

Comments
 (0)