mirror of
https://github.com/langgenius/dify.git
synced 2026-05-31 19:00:22 -04:00
fix(api): stop returning 204 with response body and add CI check (#36489)
This commit is contained in:
@@ -327,7 +327,7 @@ class TestInstalledAppApi:
|
||||
resp, status = method(installed_app)
|
||||
|
||||
assert status == 204
|
||||
assert resp["result"] == "success"
|
||||
assert resp == ""
|
||||
|
||||
def test_delete_owned_by_current_tenant(self, tenant_id: str):
|
||||
api = module.InstalledAppApi()
|
||||
|
||||
@@ -141,7 +141,7 @@ class TestSavedMessageApi:
|
||||
|
||||
delete_mock.assert_called_once()
|
||||
assert status == 204
|
||||
assert result == {"result": "success"}
|
||||
assert result == ""
|
||||
|
||||
def test_delete_not_completion_app(self):
|
||||
api = module.SavedMessageApi()
|
||||
|
||||
Reference in New Issue
Block a user