修复 shared-contracts 测试构建:补 screen_color 字段初始化
EditorCharacterAnimationGenerateRequest 新增 screen_color 后, shared-contracts 的 camelCase 契约测试初始化漏补该字段,导致 `cargo test -p shared-contracts --no-run` 编译失败(P0,阻塞 PR 合入)。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1078,6 +1078,7 @@ mod tests {
|
||||
source_width: 768,
|
||||
source_height: 1024,
|
||||
prompt_text: "待机呼吸".to_string(),
|
||||
screen_color: None,
|
||||
resolution: "720p".to_string(),
|
||||
ratio: "same".to_string(),
|
||||
frame_count: 48,
|
||||
|
||||
Reference in New Issue
Block a user