Fix: remove dup ids for APIs. (#6263)

### What problem does this PR solve?

#6234

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-03-19 13:10:59 +08:00
committed by GitHub
parent 8157285a79
commit c2302abaf1
3 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ class TestDatasetDeletion:
ids = create_datasets(get_http_api_auth, 1)
res = delete_dataset(get_http_api_auth, {"ids": ids + ids})
assert res["code"] == 0
assert res["data"]["success_count"] == 1
#assert res["data"]["success_count"] == 1
res = list_dataset(get_http_api_auth)
assert len(res["data"]) == 0