增加即梦图片5.0和视频2.5的能力
This commit is contained in:
1 parent
542246e4ce
commit
88a4268d40
55 files changed
+1412
-200
No files matched your search
@@ -56,6 +56,18 @@ func TestReadinessSQLRequiresPublicGenerationJobLifecycleColumns(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadinessSQLRequiresSeedreamBillingProviderMigration(t *testing.T) {
|
||||
for _, fragment := range []string{
|
||||
"billing_price_rules_provider_check",
|
||||
"pg_get_constraintdef",
|
||||
"position('seedream'",
|
||||
} {
|
||||
if !strings.Contains(ReadinessSQL, fragment) {
|
||||
t.Errorf("ReadinessSQL missing Seedream billing migration check %q", fragment)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadinessLocalSucceedsWithoutQuery(t *testing.T) {
|
||||
db := NewDatabase(Config{Backend: BackendLocal}, &fakeQuerier{err: errors.New("must not query")})
|
||||
if err := db.Readiness(context.Background()); err != nil {
|
||||
|
||||
Reference in new issue
Block a user