mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 14:49:01 +02:00
Merge pull request #7906 from overleaf/em-downgrade-logs
Downgrade all INFO logs to DEBUG GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
This commit is contained in:
@@ -471,7 +471,7 @@ describe('AuthenticationController', function () {
|
||||
})
|
||||
|
||||
it('should log the failed login', function () {
|
||||
this.logger.log
|
||||
this.logger.debug
|
||||
.calledWith({ email: this.email.toLowerCase() }, 'failed log in')
|
||||
.should.equal(true)
|
||||
})
|
||||
@@ -911,7 +911,7 @@ describe('AuthenticationController', function () {
|
||||
})
|
||||
|
||||
it('should log out a message', function () {
|
||||
this.logger.log
|
||||
this.logger.debug
|
||||
.calledWith(
|
||||
{ url: this.url },
|
||||
'user not logged in so redirecting to register page'
|
||||
@@ -1417,7 +1417,7 @@ describe('AuthenticationController', function () {
|
||||
})
|
||||
|
||||
it('should log the successful login', function () {
|
||||
this.logger.log
|
||||
this.logger.debug
|
||||
.calledWith(
|
||||
{ email: this.user.email, user_id: this.user._id.toString() },
|
||||
'successful log in'
|
||||
|
||||
Reference in New Issue
Block a user