Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
25b8a226
Commit
25b8a226
authored
Dec 28, 2025
by
shaw
Browse files
fix(test): 测试用例添加 simple_mode 字段
API 响应新增 simple_mode 字段,同步更新测试期望值
parent
0084da9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/server/api_contract_test.go
View file @
25b8a226
...
...
@@ -280,6 +280,7 @@ func TestAPIContracts(t *testing.T) {
service
.
SettingKeyDefaultConcurrency
:
"5"
,
service
.
SettingKeyDefaultBalance
:
"1.25"
,
service
.
SettingKeySimpleMode
:
"false"
,
})
},
method
:
http
.
MethodGet
,
...
...
@@ -308,7 +309,8 @@ func TestAPIContracts(t *testing.T) {
"contact_info": "support",
"doc_url": "https://docs.example.com",
"default_concurrency": 5,
"default_balance": 1.25
"default_balance": 1.25,
"simple_mode": false
}
}`
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment