Skip to content

Commit 53f5d57

Browse files
committed
Removed stray usage of SettingsOverride which is now gone.
1 parent e127953 commit 53f5d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cms/tests/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_plugin_order_alt(self):
233233
placeholder = draft_page.placeholders.get(slot="col_left")
234234
live_placeholder = live_page.placeholders.get(slot="col_left")
235235

236-
with SettingsOverride(CMS_PERMISSION=False):
236+
with self.settings(CMS_PERMISSION=False):
237237
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_1.pk).position, 0)
238238
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_2.pk).position, 1)
239239
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_3.pk).position, 2)

0 commit comments

Comments
 (0)