1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-10-10 03:02:39 +02:00

disable installer when running tests

This commit is contained in:
Gani Georgiev
2025-10-02 20:51:21 +03:00
parent 6b6d3b36d3
commit 44289a93a2

View File

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