mirror of
https://github.com/usememos/memos.git
synced 2024-11-15 03:07:04 +08:00
fixed test
This commit is contained in:
parent
d304add5d6
commit
4004d0e92b
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/usememos/memos/server/version"
|
||||
)
|
||||
|
||||
func TestGetCurrentSchemaVersion(t *testing.T) {
|
||||
|
@ -14,5 +13,5 @@ func TestGetCurrentSchemaVersion(t *testing.T) {
|
|||
|
||||
currentSchemaVersion, err := ts.GetCurrentSchemaVersion()
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, version.Version, currentSchemaVersion)
|
||||
require.Equal(t, "0.23.0", currentSchemaVersion)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue