fix: upgrade regression
@@ -3,6 +3,7 @@ package migratest
import (
"context"
"fmt"
+ "os"
"testing"
"github.com/ory/x/configx"
@@ -62,7 +63,7 @@ func TestMigrations(t *testing.T) {
driver.DisableValidation(),
)
- tm := popx.NewTestMigrator(t, c, "../migrations", "./testdata", d.Logger())
+ tm := popx.NewTestMigrator(t, c, os.DirFS("../migrations"), os.DirFS("./testdata"), d.Logger())
require.NoError(t, tm.Up(context.Background()))
var lastClient *client.Client
