renamed OnClearBootstrap to OnBootstrapClear for consistency with the other hooks

This commit is contained in:
Gani Georgiev
2026-09-07 19:58:29 +03:00
parent 114c01ac12
commit adf4eb822f
4 changed files with 3208 additions and 3202 deletions
+2 -2
View File
@@ -144,9 +144,9 @@ func NewTestAppWithConfig(config core.BaseAppConfig) (*TestApp, error) {
Priority: -99999,
})
t.OnClearBootstrap().Bind(&hook.Handler[*core.BootstrapEvent]{
t.OnBootstrapClear().Bind(&hook.Handler[*core.BootstrapEvent]{
Func: func(e *core.BootstrapEvent) error {
t.registerEventCall("OnClearBootstrap")
t.registerEventCall("OnBootstrapClear")
return e.Next()
},
Priority: -99999,