diff --git a/test/store/migrator_test.go b/test/store/migrator_test.go index 155c4037..994d0509 100644 --- a/test/store/migrator_test.go +++ b/test/store/migrator_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" + "github.com/usememos/memos/server/version" ) func TestGetCurrentSchemaVersion(t *testing.T) { @@ -13,5 +14,5 @@ func TestGetCurrentSchemaVersion(t *testing.T) { currentSchemaVersion, err := ts.GetCurrentSchemaVersion() require.NoError(t, err) - require.Equal(t, "0.23.0", currentSchemaVersion) + require.Equal(t, version.Version, currentSchemaVersion) }