mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-23 15:33:13 +01:00
22 lines
354 B
Go
22 lines
354 B
Go
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)
|
|
}
|