Skip to content

Commit 166387d

Browse files
committed
Fix: Remove menu registration from 5.x tests
1 parent f864625 commit 166387d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test_settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151

5252
def run():
5353
from app_helper import runner
54+
from cms import __version__ as cms_version
55+
56+
if cms_version.startswith("5."):
57+
HELPER_SETTINGS["DJANGOCMS_VERSIONING_ENABLE_MENU_REGISTRATION"] = False
5458

5559
runner.cms("djangocms_versioning", extra_args=[])
5660

0 commit comments

Comments
 (0)