From cf2386ee0e0cac4add448422f1b1a31efe4483f2 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Tue, 27 Aug 2024 14:59:32 +0200 Subject: [PATCH] Simplify test --- tests/test_admin.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/test_admin.py b/tests/test_admin.py index 1217ae25..ddb50ec0 100644 --- a/tests/test_admin.py +++ b/tests/test_admin.py @@ -433,16 +433,6 @@ def test_tree_admin_burger_menu_present(self): self.assertContains(response, '/static/djangocms_moderation/js/burger.js') def test_workflow_admin_renders_correctly(self): - WorkflowStep.objects.create( - workflow=self.wf, - role=self.role1, - order=0, - ) - WorkflowStep.objects.create( - workflow=self.wf, - role=self.role3, - order=1, - ) url = admin_reverse("djangocms_moderation_workflow_change", args=(self.wf.pk,)) with self.login_user_context(self.get_superuser()):