disable installer when running tests
This commit is contained in:
parent
6b6d3b36d3
commit
44289a93a2
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue