test: fix assertion string for new on_launch error message
ci / gates (push) Successful in 6s
ci / frontend (push) Successful in 38s
ci / rust (push) Successful in 3m2s
ci / e2e (push) Skipped
ci / publish (push) Successful in 2m40s

Multi-team refactor changed the error text from
'no team_id and no team_template_id' to
'no team_template_id and no config.phase_teams'. Assertion now
just checks both key phrases.
This commit is contained in:
Omar Sobh
2026-07-20 19:29:14 -07:00
parent b8b8cb452e
commit abe5b0ca54
+1 -1
View File
@@ -245,7 +245,7 @@ async fn on_launch_no_template_hard_fails() {
let result = mission_orchestrator::on_launch(&pool, ws, owner, mission_id, None).await; let result = mission_orchestrator::on_launch(&pool, ws, owner, mission_id, None).await;
let err = result.expect_err("no template + no team must be a hard error"); let err = result.expect_err("no template + no team must be a hard error");
assert!( assert!(
err.contains("no team_id and no team_template_id"), err.contains("no team_template_id") && err.contains("config.phase_teams"),
"unexpected error message: {err}" "unexpected error message: {err}"
); );