mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
Merge pull request #28126 from overleaf/ii-domain-capture-join-success-message
[web] Notification message for joining group via domain capture GitOrigin-RevId: 67ef924b2d80afb5e1de75fb6aab147263c0f33c
This commit is contained in:
@@ -569,6 +569,21 @@ describe('ProjectListController', function () {
|
||||
}
|
||||
ctx.ProjectListController.projectListPage(ctx.req, ctx.res)
|
||||
})
|
||||
it('should show a linked group notification via domain capture', function (ctx) {
|
||||
ctx.req.session.saml = {
|
||||
linkedGroup: true,
|
||||
universityName: ctx.institutionName,
|
||||
domainCaptureJoin: true,
|
||||
}
|
||||
ctx.res.render = (pageName, opts) => {
|
||||
expect(opts).to.deep.include({
|
||||
groupSsoSetupSuccess: true,
|
||||
joinedGroupName: ctx.institutionName,
|
||||
viaDomainCapture: true,
|
||||
})
|
||||
}
|
||||
ctx.ProjectListController.projectListPage(ctx.req, ctx.res)
|
||||
})
|
||||
it('should show a linked another email notification', function (ctx) {
|
||||
// when they request to link an email but the institution returns
|
||||
// a different email
|
||||
|
||||
Reference in New Issue
Block a user