mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02:00
Merge pull request #4639 from overleaf/ab-web-mono-analytics-id
Analytics ID support GitOrigin-RevId: 820a6c0f4d19f046f6c791ce4dc64dbc80748924
This commit is contained in:
committed by
Copybot
parent
3af8fc63de
commit
44a8883b6d
@@ -24,6 +24,7 @@ describe('UserController', function () {
|
||||
_id: this.user_id,
|
||||
email: 'old@something.com',
|
||||
},
|
||||
analyticsId: this.user_id,
|
||||
},
|
||||
sessionID: '123',
|
||||
body: {},
|
||||
@@ -544,9 +545,10 @@ describe('UserController', function () {
|
||||
})
|
||||
|
||||
it('should register the user and send them an email', function () {
|
||||
this.UserRegistrationHandler.registerNewUserAndSendActivationEmail
|
||||
.calledWith(this.email)
|
||||
.should.equal(true)
|
||||
sinon.assert.calledWith(
|
||||
this.UserRegistrationHandler.registerNewUserAndSendActivationEmail,
|
||||
this.email
|
||||
)
|
||||
})
|
||||
|
||||
it('should return the user and activation url', function () {
|
||||
|
||||
Reference in New Issue
Block a user