Skip to content

Commit

Permalink
fix tests/testAccess with institution support
Browse files Browse the repository at this point in the history
  • Loading branch information
mwest1066 committed May 15, 2017
1 parent 4db5131 commit 441f70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion middlewares/authn.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function(req, res, next) {
authUin = '123456789';

if (req.cookies.pl_test_user == 'test_student') {
authUid = 'student@example.com';
authUid = 'student@illinois.edu';
authName = 'Student User';
authUin = '314156295';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/testAccess.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SELECT
FROM
users AS u
WHERE
u.uid = 'student@example.com';
u.uid = 'student@illinois.edu';

-- BLOCK insert_student_enrollment
INSERT INTO enrollments
Expand Down

0 comments on commit 441f70f

Please sign in to comment.