mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(row_level_security): Correct api response code for update (#34672)
This commit is contained in:
committed by
GitHub
parent
58ebc57285
commit
ecfb9f7d7c
@@ -471,7 +471,7 @@ class TestRowLevelSecurityUpdateAPI(SupersetTestCase):
|
||||
rv = self.client.put(f"/api/v1/rowlevelsecurity/{rls.id}", json=payload)
|
||||
status_code, _data = rv.status_code, json.loads(rv.data.decode("utf-8")) # noqa: F841
|
||||
|
||||
assert status_code == 201
|
||||
assert status_code == 200
|
||||
|
||||
rls = (
|
||||
db.session.query(RowLevelSecurityFilter)
|
||||
|
||||
Reference in New Issue
Block a user