disable installer when running tests

This commit is contained in:
Gani Georgiev 2025-10-02 20:51:21 +03:00
parent 6b6d3b36d3
commit 44289a93a2
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ func NewTestAppWithConfig(config core.BaseAppConfig) (*TestApp, error) {
t.OnServe().Bind(&hook.Handler[*core.ServeEvent]{ t.OnServe().Bind(&hook.Handler[*core.ServeEvent]{
Func: func(e *core.ServeEvent) error { Func: func(e *core.ServeEvent) error {
t.registerEventCall("OnServe") t.registerEventCall("OnServe")
e.InstallerFunc = nil // https://github.com/pocketbase/pocketbase/discussions/7202
return e.Next() return e.Next()
}, },
Priority: -99999, Priority: -99999,