added engine Finish
This commit is contained in:
parent
986f3979fb
commit
73013f53bb
@ -83,7 +83,12 @@ func TestEngine(sessionId string) (engine.Engine, func()) {
|
|||||||
en = en.WithFirst(hl.Init)
|
en = en.WithFirst(hl.Init)
|
||||||
|
|
||||||
cleanFn := func() {
|
cleanFn := func() {
|
||||||
err := menuStorageService.Close()
|
err := en.Finish()
|
||||||
|
if err != nil {
|
||||||
|
logg.Errorf(err.Error())
|
||||||
|
}
|
||||||
|
|
||||||
|
err = menuStorageService.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logg.Errorf(err.Error())
|
logg.Errorf(err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user