File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def test_editor_without_delete_versionlock_permission_can_edit_unlocked_content(
142142 "editor_without_unlock" ,
143143 is_staff = True ,
144144 is_superuser = False ,
145- permissions = ["change_pollcontentversion " ],
145+ permissions = ["change_page " ],
146146 )
147147
148148 # Create a version without a lock (unlocked)
@@ -169,7 +169,7 @@ def test_editor_without_delete_versionlock_permission_can_edit_their_locked_cont
169169 "editor_without_unlock" ,
170170 is_staff = True ,
171171 is_superuser = False ,
172- permissions = ["change_pollcontentversion " ],
172+ permissions = ["change_page " ],
173173 )
174174
175175 # Create a version without a lock (unlocked)
@@ -196,7 +196,7 @@ def test_editor_without_delete_versionlock_permission_cannot_edit_others_content
196196 "editor_without_unlock" ,
197197 is_staff = True ,
198198 is_superuser = False ,
199- permissions = ["change_pollcontentversion " ],
199+ permissions = ["change_page " ],
200200 )
201201
202202 # Create a version locked by another user
@@ -231,7 +231,7 @@ def test_editor_with_delete_versionlock_permission_can_edit_others_content(self)
231231 "editor_with_unlock" ,
232232 is_staff = True ,
233233 is_superuser = False ,
234- permissions = ["delete_versionlock" ],
234+ permissions = ["delete_versionlock" , "change_page" ],
235235 )
236236
237237 # Create a version locked by another user
You can’t perform that action at this time.
0 commit comments