Merge pull request #2521 from overleaf/ta-announcement-remove

Remove Announcements

GitOrigin-RevId: 3fed602e89992ad5f4260134b87ade1e6e088cf7
This commit is contained in:
Simon Detheridge
2020-01-16 14:54:01 +00:00
committed by Copybot
parent 294418b4ee
commit db27215760
13 changed files with 3 additions and 783 deletions

View File

@@ -87,7 +87,6 @@ describe('ProjectController', function() {
this.UserController = {
logout: sinon.stub()
}
this.AnalyticsManager = { getLastOccurrence: sinon.stub() }
this.TokenAccessHandler = {
getRequestToken: sinon.stub().returns(this.token),
protectTokens: sinon.stub()
@@ -174,7 +173,6 @@ describe('ProjectController', function() {
'./ProjectDetailsHandler': this.ProjectDetailsHandler,
'../Authentication/AuthenticationController': this
.AuthenticationController,
'../Analytics/AnalyticsManager': this.AnalyticsManager,
'../TokenAccess/TokenAccessHandler': this.TokenAccessHandler,
'../Collaborators/CollaboratorsGetter': this.CollaboratorsGetter,
'../../infrastructure/Modules': this.Modules,
@@ -1055,7 +1053,6 @@ describe('ProjectController', function() {
)
this.ProjectDeleter.unmarkAsDeletedByExternalSource = sinon.stub()
this.InactiveProjectManager.reactivateProjectIfRequired.callsArgWith(1)
this.AnalyticsManager.getLastOccurrence.yields(null, { mock: 'event' })
this.ProjectUpdateHandler.markAsOpened.callsArgWith(1)
})