fix: actions test

This commit is contained in:
Livio Bieri 2024-03-14 10:40:54 +01:00
parent ea664e01a4
commit 35b8770482
2 changed files with 8 additions and 2 deletions

View File

@ -58,7 +58,6 @@ class AttendanceCourseUserMutationTestCase(GraphQLTestCase):
file.save() file.save()
file_id = str(file.id) file_id = str(file.id)
file_url = file.url
completion_data_string = json.dumps( completion_data_string = json.dumps(
{ {

View File

@ -50,12 +50,19 @@ class ActionTestCase(TestCase):
# THEN # THEN
self.assertEqual( self.assertEqual(
mentor_actions, mentor_actions,
["learning-mentor", "preview", "appointments", "expert-cockpit"], [
"learning-mentor",
"learning-mentor::guide-members",
"preview",
"appointments",
],
) )
self.assertEqual( self.assertEqual(
participant_actions, participant_actions,
[ [
"deprecated-mentor", "deprecated-mentor",
"learning-mentor",
"learning-mentor::edit-mentors",
"media-library", "media-library",
"appointments", "appointments",
"learning-path", "learning-path",