Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(875)

Issue 81360048: Issue 1751: Prevent user to join course using the googleId owned by another user in the same course

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Oo Theong Siang
Modified:
10 years, 5 months ago
Reviewers:
damith
Visibility:
Public.

Description

Issue 1751: Prevent user to join course using the googleId owned by another user in the same course

Patch Set 1 #

Total comments: 4

Patch Set 2 : Issue 1751: Prevent user to join course using the googleId owned by another user in the same course #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -36 lines) Patch
M src/main/java/teammates/common/util/Const.java View 1 chunk +2 lines, -0 lines 0 comments Download
M src/main/java/teammates/logic/core/AccountsLogic.java View 3 chunks +67 lines, -33 lines 0 comments Download
M src/test/java/teammates/test/cases/logic/AccountsLogicTest.java View 1 4 chunks +30 lines, -3 lines 0 comments Download

Messages

Total messages: 2
damith
https://codereview.appspot.com/81360048/diff/1/src/test/java/teammates/test/cases/logic/AccountsLogicTest.java File src/test/java/teammates/test/cases/logic/AccountsLogicTest.java (right): https://codereview.appspot.com/81360048/diff/1/src/test/java/teammates/test/cases/logic/AccountsLogicTest.java#newcode88 src/test/java/teammates/test/cases/logic/AccountsLogicTest.java:88: ______TS("failure: googleID belongs to a existing student in the ...
10 years, 5 months ago (2014-03-29 03:03:33 UTC) #1
Oo Theong Siang
10 years, 5 months ago (2014-03-29 07:27:40 UTC) #2
https://codereview.appspot.com/81360048/diff/1/src/test/java/teammates/test/c...
File src/test/java/teammates/test/cases/logic/AccountsLogicTest.java (right):

https://codereview.appspot.com/81360048/diff/1/src/test/java/teammates/test/c...
src/test/java/teammates/test/cases/logic/AccountsLogicTest.java:88:
______TS("failure: googleID belongs to a existing student in the course");
On 2014/03/29 03:03:33, damith wrote:
> ...an existing...

Done.

https://codereview.appspot.com/81360048/diff/1/src/test/java/teammates/test/c...
src/test/java/teammates/test/cases/logic/AccountsLogicTest.java:101: }
Yeah, that test case is already included, in line 116.

On 2014/03/29 03:03:33, damith wrote:
> What happens if a person tries to join the course again? i.e. click the same
> join link twice, using the same Google ID. May be we should have a test case
for
> that too?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b