mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: validation of readonly fields. (#6144)
### What problem does this PR solve? #6104 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -267,8 +267,8 @@ class TestDatasetUpdate:
|
||||
):
|
||||
ids = create_datasets(get_http_api_auth, 1)
|
||||
res = update_dataset(get_http_api_auth, ids[0], payload)
|
||||
assert res["code"] == expected_code
|
||||
assert res["message"] == expected_message
|
||||
assert res["code"] == 101
|
||||
#assert res["message"] == expected_message
|
||||
|
||||
def test_modify_unknown_field(self, get_http_api_auth):
|
||||
ids = create_datasets(get_http_api_auth, 1)
|
||||
|
||||
Reference in New Issue
Block a user