test(store): make group capacity fixtures independent of defaults

Set inherited concurrency explicitly so the aggregation test exercises
its intended 3 + 4 capacity without depending on installation defaults.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Zyy
2026-10-16 17:15:05 +08:00
co-authored by Codex
parent 5843091969
commit 815c93a715
@@ -62,6 +62,11 @@ async fn groups_aggregate_cross_provider_members_and_key_bindings_without_multip
let Some(database) = TestDatabase::create("account_group_aggregate").await else {
return;
};
// 显式固定继承上限,让分组聚合断言不依赖安装时的初始设置
sqlx::query("update runtime_settings set max_concurrent_per_account = 3 where id = 1")
.execute(&database.pool)
.await
.expect("set inherited account concurrency");
seed_account(
&database.pool,
"acct_group_openai",