From 73cd082fc1865d6a6478d29153c28b2c9bcc0bec Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Mon, 11 May 2020 23:55:34 +0200 Subject: [PATCH] retry with X-Frame options to SAMEORIGIN --- tests/requirements.txt | 2 +- tests/testshop/settings.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index a7a382f6e..6b7092047 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -28,7 +28,7 @@ django-treebeard==4.3.1 djangocms-admin-style==1.3.0 djangocms-bootstrap==1.1.2 djangocms-cascade==1.3.1 -djangocms-text-ckeditor==3.9.0 +https://github.com/jrief/djangocms-text-ckeditor/archive/patch-1.zip djangorestframework==3.11.0 easy-thumbnails==2.7 factory-boy==2.11.1 diff --git a/tests/testshop/settings.py b/tests/testshop/settings.py index 79c69847e..1c314be71 100644 --- a/tests/testshop/settings.py +++ b/tests/testshop/settings.py @@ -116,6 +116,10 @@ TIME_ZONE = 'UTC' +X_FRAME_OPTIONS = 'SAMEORIGIN' + +SILENCED_SYSTEM_CHECKS = ['auth.W004'] + LANGUAGES = [ ('en', 'English'), ] @@ -187,8 +191,6 @@ 'stylesSet': format_lazy('default:{}', reverse_lazy('admin:cascade_texteditor_config')), } -SILENCED_SYSTEM_CHECKS = ['auth.W004'] - SHOP_APP_LABEL = 'testshop' SHOP_CART_MODIFIERS = [