Merge pull request #2959 from overleaf/em-admin-only-texlive-images

Admin only TeX Live images

GitOrigin-RevId: 428896c4e5512053bd7fa6c618ff64efd1a6141a
This commit is contained in:
Eric Mc Sween
2020-06-30 08:04:59 -04:00
committed by Copybot
parent fdb79de3a6
commit 42c7fbf38c
4 changed files with 233 additions and 205 deletions

View File

@@ -75,7 +75,8 @@ describe('ProjectController', function() {
this.ProjectHelper = {
isArchived: sinon.stub(),
isTrashed: sinon.stub(),
isArchivedOrTrashed: sinon.stub()
isArchivedOrTrashed: sinon.stub(),
getAllowedImagesForUser: sinon.stub().returns([])
}
this.AuthenticationController = {
getLoggedInUser: sinon.stub().callsArgWith(1, null, this.user),