fix: actions test
This commit is contained in:
parent
ea664e01a4
commit
35b8770482
|
|
@ -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(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue