mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-02-12 08:13:57 +01:00
refactor: remove pocketbase (#1138)
This commit is contained in:
21
testing/upgradetest_test.go
Normal file
21
testing/upgradetest_test.go
Normal file
@@ -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