feat: integrate OA activation workflows and business migration
This commit is contained in:
@@ -25,16 +25,16 @@ func TestCatalogContainsBuiltInModulesInDependencyOrder(t *testing.T) {
|
||||
t.Fatalf("definition[%d] = %q, want %q", index, got, name)
|
||||
}
|
||||
}
|
||||
if got := catalog.MigrationSteps(); len(got) != 39 {
|
||||
t.Fatalf("module migrations = %d, want 39", len(got))
|
||||
if got := catalog.MigrationSteps(); len(got) != 41 {
|
||||
t.Fatalf("module migrations = %d, want 41", len(got))
|
||||
}
|
||||
var menus, apis int
|
||||
for _, definition := range catalog.Definitions {
|
||||
menus += len(definition.Surface.Menus)
|
||||
apis += len(definition.Surface.APIs)
|
||||
}
|
||||
if menus != 21 || apis != 90 {
|
||||
t.Fatalf("admin surface = %d menus/%d APIs, want 21/90", menus, apis)
|
||||
if menus != 21 || apis != 94 {
|
||||
t.Fatalf("admin surface = %d menus/%d APIs, want 21/94", menus, apis)
|
||||
}
|
||||
if got := catalog.DefaultTimedTasks(); len(got) != 5 {
|
||||
t.Fatalf("default timed tasks = %d, want 5", len(got))
|
||||
|
||||
Reference in New Issue
Block a user