diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6e524a..ef74a09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,6 @@ stages: - renovate - build_container -variables: - CONTAINER_TEST_IMAGE: registry.0xacab.org/jvoisin/mat2-web:$CI_BUILD_REF_NAME - CONTAINER_RELEASE_IMAGE: registry.0xacab.org/jvoisin/mat2-web:latest - pyflakes: stage: linting script: diff --git a/test/test_api.py b/test/test_api.py index 181fe4b..da94023 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -285,7 +285,7 @@ class Mat2APITestCase(unittest.TestCase): ) self.assertEqual(400, request.status_code) error_message = request.get_json()['message'] - self.assertEqual("Post Body Required", error_message) + self.assertEqual("The browser (or proxy) sent a request that this server could not understand.", error_message) def test_api_bulk_download_validation(self): post_body = {