Fixes build as commit 9fffdb4 added a check/call to GetCurrentUser and JS test was failing for unexpected HTTP call to GetCurrentUser

This commit is contained in:
Warren Buckley
2019-06-24 10:39:47 +01:00
parent aed6ef28e6
commit 41b8294ce3
3 changed files with 66 additions and 3 deletions

View File

@@ -33,7 +33,10 @@
}
beforeEach(inject(function ($controller, $rootScope, $q, $location) {
beforeEach(inject(function ($controller, $rootScope, $q, $location, authMocks) {
authMocks.register();
contentTypeResource = {
getAllowedTypes: function () {
var def = $q.defer();