mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
Updated services tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
d12cf14dbe
commit
f1d691dd55
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user