adjust code to new repository

This commit is contained in:
T. R. Bernstein
2025-10-09 21:02:10 +02:00
committed by T. R. Bernstein
parent 0cf34c475b
commit 795cd8335f
335 changed files with 803 additions and 802 deletions

View File

@@ -13,9 +13,9 @@ import (
"testing"
"time"
"github.com/pocketbase/pocketbase/apis"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/apis"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/tools/hook"
)
// ApiScenario defines a single api request test case/scenario.

View File

@@ -9,10 +9,10 @@ import (
"runtime"
"sync"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/hook"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/tools/hook"
_ "github.com/pocketbase/pocketbase/migrations"
_ "github.com/tabshift-gh/pocketbase/migrations"
)
// TestApp is a wrapper app instance used for testing.
@@ -147,7 +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
e.InstallerFunc = nil // https://github.com/tabshift-gh/pocketbase/discussions/7202
return e.Next()
},
Priority: -99999,

View File

@@ -4,8 +4,8 @@ import (
"strconv"
"time"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/types"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/tools/types"
)
func StubOTPRecords(app core.App) error {

View File

@@ -4,7 +4,7 @@ import (
"slices"
"sync"
"github.com/pocketbase/pocketbase/tools/mailer"
"github.com/tabshift-gh/pocketbase/tools/mailer"
)
var _ mailer.Mailer = (*TestMailer)(nil)