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
b8befaf7
Commit
b8befaf7
authored
Jan 06, 2017
by
Jeff LaJoie
Committed by
GitHub
Jan 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14278 from edx/jlajoie/TNL-6186
Change CourseTeamMembership emit to use proper id
parents
adc3c8f8
982d56ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
AUTHORS
+1
-0
lms/djangoapps/teams/models.py
+1
-1
lms/djangoapps/teams/tests/test_models.py
+1
-1
No files found.
AUTHORS
View file @
b8befaf7
...
...
@@ -278,3 +278,4 @@ Casey Litton <caseylitton@gmail.com>
Jhony Avella <jhony.avella@edunext.co>
Tanmay Mohapatra <tanmaykm@gmail.com>
Brian Mesick <bmesick@edx.org>
Jeff LaJoie <jlajoie@edx.org>
lms/djangoapps/teams/models.py
View file @
b8befaf7
...
...
@@ -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 @
b8befaf7
...
...
@@ -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