mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 17:56:37 +08:00
缓存框架
This commit is contained in:
@@ -38,8 +38,8 @@ func TestMigrateInitializesSQLiteDatabase(t *testing.T) {
|
||||
if err := sqliteDB.Table("w_system_configs").Count(&systemConfigCount).Error; err != nil {
|
||||
t.Fatalf("Migrate() count w_system_configs error = %v", err)
|
||||
}
|
||||
if systemConfigCount != 24 {
|
||||
t.Errorf("Migrate() w_system_configs count = %d, want %d", systemConfigCount, 24)
|
||||
if systemConfigCount != 27 {
|
||||
t.Errorf("Migrate() w_system_configs count = %d, want %d", systemConfigCount, 27)
|
||||
}
|
||||
|
||||
var adminCount int64
|
||||
|
||||
Reference in New Issue
Block a user