From faa76390a02cf35e507ad5381d388295565e9a89 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 7 Jan 2021 16:01:01 -0800 Subject: [PATCH] Fixed bug introduced in e1efa9b7, refs #1178 --- tests/test_publish_cloudrun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_publish_cloudrun.py b/tests/test_publish_cloudrun.py index f6a8e83a..2ef90705 100644 --- a/tests/test_publish_cloudrun.py +++ b/tests/test_publish_cloudrun.py @@ -200,7 +200,7 @@ def test_publish_cloudrun_plugin_secrets(mock_call, mock_output, mock_which): RUN datasette inspect test.db --inspect-file inspect-data.json ENV PORT 8001 EXPOSE 8001 - CMD datasette serve --host 0.0.0.0 -i test.db --cors --inspect-file inspect-data.json --metadata metadata.json --port $PORT""" + CMD datasette serve --host 0.0.0.0 -i test.db --cors --inspect-file inspect-data.json --metadata metadata.json --setting force_https_urls on --port $PORT""" ).strip() assert expected == dockerfile metadata = ( @@ -267,7 +267,7 @@ def test_publish_cloudrun_apt_get_install(mock_call, mock_output, mock_which): RUN datasette inspect test.db --inspect-file inspect-data.json ENV PORT 8001 EXPOSE 8001 - CMD datasette serve --host 0.0.0.0 -i test.db --cors --inspect-file inspect-data.json --port $PORT + CMD datasette serve --host 0.0.0.0 -i test.db --cors --inspect-file inspect-data.json --setting force_https_urls on --port $PORT """ ).strip() assert expected == dockerfile