File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/Runtime/NetDaemon.Runtime.Tests/Integration Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ public async Task TestApplicationReactToNewEvents()
50
50
51
51
var runnerTask = host . StartAsync ( timedCancellationSource . Token ) ;
52
52
haRunner . MockConnect ( ) ;
53
- _ = ( NetDaemonRuntime ) host . Services . GetService < IRuntime > ( ) ! ;
54
53
await runnerTask . ConfigureAwait ( false ) ;
55
54
56
55
haRunner . ClientMock . ConnectionMock . AddStateChangeEvent (
@@ -89,7 +88,6 @@ public async Task TestApplicationReactToNewEventsAndThrowException()
89
88
90
89
var runnerTask = host . StartAsync ( timedCancellationSource . Token ) ;
91
90
haRunner . MockConnect ( ) ;
92
- _ = ( NetDaemonRuntime ) host . Services . GetService < IRuntime > ( ) ! ;
93
91
94
92
haRunner . ClientMock . ConnectionMock . AddStateChangeEvent (
95
93
new HassState
You can’t perform that action at this time.
0 commit comments