v11_result.txt 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. === CFC API v11 Results ===
  2. Time: 2026-07-07T08:25:12.329Z
  3. [PASS] Admin login userId=7
  4. [PASS] REG Energy rule create
  5. [PASS] REG SKU list
  6. [PASS] REG Activity publish
  7. [PASS] REG Articles list (public)
  8. [PASS] REG Activity list (public)
  9. [PASS] REG User list
  10. [PASS] REG Energy dims
  11. [PASS] REG Vendor list
  12. [PASS] REG Admin articles
  13. [PASS] REG Points balance
  14. [PASS] REG Energy overview
  15. [PASS] REG Article publish
  16. [PASS] REG Create user
  17. [INFO] REG Guide activity list: 500
  18. [PASS] ISSUE-001 Vendor login (with test-mode bypass)
  19. [FAIL] ISSUE-001 Vendor unshelve: code=200 msg=商品未上架,无法下架
  20. [FAIL] FOOD-01 Food list: code=500 msg={"timestamp":"2026-07-07T08:25:18.979+00:00","status":500,"error":"Internal Server Error","path":"/api/admin/foods/list"}
  21. [PASS] FOOD-02 Food create
  22. [FAIL] FOOD-03 Food detail: code=200 msg=For input string: "{id=4, name=TestFood_1783412718858, category=vegetable, unit=斤, calories=null, protein=null, fat=null, carbs=null, fiber=null, energyKj=null, starch=null, cholesterol=null, priceLevel=null, nutritionTags=null, suitableFor=null, allergens=null, externalSource=null, externalId=null, coverImage=null, reportId=null, score=null, status=null, sortOrder=null, createdAt=null, updatedAt=null}"
  23. [FAIL] FOOD-04 Save months: code=200 msg=For input string: "{id=4, name=TestFood_1783412718858, category=vegetable, unit=斤, calories=null, protein=null, fat=null, carbs=null, fiber=null, energyKj=null, starch=null, cholesterol=null, priceLevel=null, nutritionTags=null, suitableFor=null, allergens=null, externalSource=null, externalId=null, coverImage=null, reportId=null, score=null, status=null, sortOrder=null, createdAt=null, updatedAt=null}"
  24. [INFO] FOOD-05 Verify months: months not in response: {"code":400,"message":"For input string: \"{id=4, name=TestFood_1783412718858, category=vegetable, unit=斤, calories=null, protein=null, fat=null, carbs=null, fiber=null, energyKj=null, starch=null, cholesterol=null, priceLevel=null, nutritionTags=null, suitableFor=null, allergens=null, externalSource=null, externalId=null, coverImage=null, reportId=null, score=null, status=null, sortOrder=null, createdAt=null, updatedAt=null}\"","data":null}
  25. [FAIL] FOOD-06 Food delete: code=200 msg=For input string: "{id=4, name=TestFood_1783412718858, category=vegetable, unit=斤, calories=null, protein=null, fat=null, carbs=null, fiber=null, energyKj=null, starch=null, cholesterol=null, priceLevel=null, nutritionTags=null, suitableFor=null, allergens=null, externalSource=null, externalId=null, coverImage=null, reportId=null, score=null, status=null, sortOrder=null, createdAt=null, updatedAt=null}"
  26. [FAIL] SUPPLY-01 SupplySystem create: code=500 msg={"timestamp":"2026-07-07T08:25:19.907+00:00","status":500,"error":"Internal Server Error","path":"/api/admin/supply-system/create"}
  27. [INFO] SUPPLY-01: create no id: {"timestamp":"2026-07-07T08:25:19.907+00:00","status":500,"error":"Internal Server Error","path":"/api/admin/supply-system/create"}
  28. [PASS] FOOD-REC-01 Food recommend index (userId=1)
  29. [PASS] FOOD-REC-02 Food recommend by-family (familyId=1)
  30. [PASS] ARTICLE-WF-00 Article created for workflow test
  31. [FAIL] ARTICLE-WF-01 submitForReview (draft→pending): code=404 msg={"timestamp":"2026-07-07T08:25:26.394+00:00","status":404,"error":"Not Found","path":"/api/admin/articles/submit-for-review"}
  32. [INFO] ARTICLE-WF-02 withdraw: requires published state (approval flow needed)
  33. [INFO] ARTICLE-WF-03 reDraft: requires rejected state (approval flow needed)
  34. [PASS] AUTO-TAG-01 Article create
  35. [INFO] AUTO-TAG-02 Tags: no tags field in response: {"id":24,"categoryId":1,"title":"AutoTagTest_1783412726455","summary":"Auto tag test article","coverImage":"","content":"今天天气很好,适合户外跑步锻炼身体。多吃水果蔬菜对健康有益。","tags":null,"author":null,"readTime":0,"article
  36. === Summary: 20 PASS / 7 FAIL / 0 SKIP / 6 INFO / 33 Total ===