fix(tests): X-Test-Sub → X-Auth-Token во всех тест-скриптах, cleanup для test59.sh

This commit is contained in:
“Naeel”
2026-05-03 13:50:32 +04:00
parent a09291e208
commit f18508d2cb
8 changed files with 117 additions and 106 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ chk() {
escaped=$(printf '%s' "$code" | python3 -c "import sys,json; print(json.dumps(sys.stdin.read()))")
local resp
resp=$(curl -s -X POST "$API" \
-H "X-Test-Sub: livetest@test.local" \
-H "X-Auth-Token: livetest@test.local" \
-H "Content-Type: application/json" \
-d "{\"language\":\"${lang}\",\"code\":${escaped}}")
local ok_val result_val