mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user