From f1d691dd554e05f47752ae41d3bc6f0a253e5b65 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Mon, 13 Sep 2021 09:25:47 +0300 Subject: [PATCH] Updated services tests --- services/cores_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/cores_test.go b/services/cores_test.go index b740671f5..53753e9c9 100644 --- a/services/cores_test.go +++ b/services/cores_test.go @@ -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 ,\n Received <%+v>", getShut)