diff --git a/superset-frontend/src/explore/components/PropertiesModal/index.tsx b/superset-frontend/src/explore/components/PropertiesModal/index.tsx index 650b0d7aa0542..7fa4ef4580ec1 100644 --- a/superset-frontend/src/explore/components/PropertiesModal/index.tsx +++ b/superset-frontend/src/explore/components/PropertiesModal/index.tsx @@ -55,7 +55,6 @@ function PropertiesModal({ show, addSuccessToast, }: PropertiesModalProps) { - console.log(slice); const [submitting, setSubmitting] = useState(false); const [form] = AntdForm.useForm(); // values of form inputs diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index ccbc1edf593cc..df07aba5e6a08 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -816,7 +816,7 @@ const DatabaseModal: FunctionComponent = ({ return []; }; - const renderEditModalFooter = (db: DatabaseObject) => ( + const renderEditModalFooter = (db: Partial | null) => ( <> {t('Close')} diff --git a/tests/integration_tests/charts/api_tests.py b/tests/integration_tests/charts/api_tests.py index 65ed10fe1376f..daff4f14f6733 100644 --- a/tests/integration_tests/charts/api_tests.py +++ b/tests/integration_tests/charts/api_tests.py @@ -749,6 +749,7 @@ def test_get_chart(self): "slice_name": "title", "viz_type": None, "query_context": None, + "is_managed_externally": False, } data = json.loads(rv.data.decode("utf-8")) self.assertEqual(data["result"], expected_result) diff --git a/tests/integration_tests/dashboards/api_tests.py b/tests/integration_tests/dashboards/api_tests.py index 8ee6bb59250e9..938de31414393 100644 --- a/tests/integration_tests/dashboards/api_tests.py +++ b/tests/integration_tests/dashboards/api_tests.py @@ -349,6 +349,7 @@ def test_get_dashboard(self): "url": "/superset/dashboard/slug1/", "slug": "slug1", "thumbnail_url": dashboard.thumbnail_url, + "is_managed_externally": False, } data = json.loads(rv.data.decode("utf-8")) self.assertIn("changed_on", data["result"])