Navigation Menu

Skip to content

Commit

Permalink
Rest func to initial state
Browse files Browse the repository at this point in the history
  • Loading branch information
a-know committed Mar 18, 2019
1 parent 9366683 commit effeb49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check-ntservice/lib/check_ntservice_test.go
Expand Up @@ -105,6 +105,10 @@ func TestRun(t *testing.T) {
},
}

originalFunc := getServiceStateFunc
defer func() {
getServiceStateFunc = originalFunc
}()
mockServiceState()

for _, tc := range testCases {
Expand Down

0 comments on commit effeb49

Please sign in to comment.