Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d66e323d
Commit
d66e323d
authored
Jan 06, 2017
by
Jeff LaJoie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TNL-6186 changes field used in CourseTeamMembership emit to be correct team_id and fixes tests
parent
2a6432db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/teams/models.py
+1
-1
lms/djangoapps/teams/tests/test_models.py
+1
-1
No files found.
lms/djangoapps/teams/models.py
View file @
d66e323d
...
...
@@ -263,5 +263,5 @@ class CourseTeamMembership(models.Model):
membership
.
team
.
save
()
membership
.
save
()
emit_team_event
(
'edx.team.activity_updated'
,
membership
.
team
.
course_id
,
{
'team_id'
:
membership
.
team_id
,
'team_id'
:
membership
.
team
.
team
_id
,
})
lms/djangoapps/teams/tests/test_models.py
View file @
d66e323d
...
...
@@ -172,7 +172,7 @@ class TeamSignalsTest(EventTestMixin, SharedModuleStoreTestCase):
self
.
assertGreater
(
now
,
team_membership
.
last_activity_at
)
self
.
assert_event_emitted
(
'edx.team.activity_updated'
,
team_id
=
team
.
id
,
team_id
=
team
.
team_
id
,
)
else
:
self
.
assertEqual
(
team
.
last_activity_at
,
team_last_activity
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment