Updated services tests

This commit is contained in:
Trial97
2021-09-13 09:25:47 +03:00
committed by Dan Christian Bogos
parent d12cf14dbe
commit f1d691dd55

View File

@@ -62,6 +62,8 @@ func TestCoreSCoverage(t *testing.T) {
//populates connChan with something in order to call the shutdown function
srv.connChan <- &testMockClients{}
srv.stopChan = make(chan struct{})
// srv.csCh = make(chan *cores.CoreService, 1)
srv.csCh <- nil
getShut := srv.Shutdown()
if getShut != nil {
t.Errorf("\nExpecting not <nil>,\n Received <%+v>", getShut)