mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fixed test
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/usememos/memos/server/version"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGetCurrentSchemaVersion(t *testing.T) {
|
func TestGetCurrentSchemaVersion(t *testing.T) {
|
||||||
@@ -14,5 +13,5 @@ func TestGetCurrentSchemaVersion(t *testing.T) {
|
|||||||
|
|
||||||
currentSchemaVersion, err := ts.GetCurrentSchemaVersion()
|
currentSchemaVersion, err := ts.GetCurrentSchemaVersion()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, version.Version, currentSchemaVersion)
|
require.Equal(t, "0.23.0", currentSchemaVersion)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user