Removing unnecesary unnused old layered store (#12999)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a85c653f87
Коммит
8febdcf2b8
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
func TestStoreUpgrade(t *testing.T) {
|
||||
StoreTest(t, func(t *testing.T, ss store.Store) {
|
||||
sqlStore := ss.(*store.LayeredStore).DatabaseLayer.(SqlStore)
|
||||
sqlStore := ss.(SqlStore)
|
||||
|
||||
t.Run("invalid currentModelVersion", func(t *testing.T) {
|
||||
err := UpgradeDatabase(sqlStore, "notaversion")
|
||||
@@ -81,7 +81,7 @@ func TestStoreUpgrade(t *testing.T) {
|
||||
|
||||
func TestSaveSchemaVersion(t *testing.T) {
|
||||
StoreTest(t, func(t *testing.T, ss store.Store) {
|
||||
sqlStore := ss.(*store.LayeredStore).DatabaseLayer.(SqlStore)
|
||||
sqlStore := ss.(SqlStore)
|
||||
|
||||
t.Run("set earliest version", func(t *testing.T) {
|
||||
saveSchemaVersion(sqlStore, VERSION_3_0_0)
|
||||
|
||||
Ссылка в новой задаче
Block a user