mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-04-25 03:57:48 +02:00
refactor: remove pocketbase (#1138)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package testing
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/SecurityBrewery/catalyst/app/data"
|
||||
)
|
||||
|
||||
func TestUpgradeTestData(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
app, cleanup, _ := App(t)
|
||||
|
||||
t.Cleanup(cleanup)
|
||||
|
||||
require.NoError(t, data.GenerateUpgradeTestData(t.Context(), app.Queries))
|
||||
|
||||
ValidateUpgradeTestData(t, app.Queries)
|
||||
}
|
||||
Reference in New Issue
Block a user