fixed after hooks

This commit is contained in:
Gani Georgiev
2022-08-08 20:14:46 +03:00
parent 8009d37d24
commit 8b2b26c196
17 changed files with 945 additions and 678 deletions
-1
View File
@@ -541,7 +541,6 @@ func TestCollectionImport(t *testing.T) {
ExpectedEvents: map[string]int{
"OnCollectionsBeforeImportRequest": 1,
"OnModelBeforeCreate": 2,
"OnModelAfterCreate": 1,
},
AfterFunc: func(t *testing.T, app *tests.TestApp, e *echo.Echo) {
collections := []*models.Collection{}