Skip to content

Commit 274621e

Browse files
[DSC-1956] fix tests
1 parent 9f4e27a commit 274621e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/core/data/feature-authorization/authorization-data.service.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ describe('AuthorizationDataService', () => {
4545
});
4646

4747
authorizationService = jasmine.createSpyObj('authorizationService', {
48-
isLoading: jasmine.createSpy('isLoading'),
49-
hasErrors: jasmine.createSpy('hasErrors'),
50-
getSiteAuthorization: jasmine.createSpy('getSiteAuthorization'),
51-
getAuthorizationForObject: jasmine.createSpy('getAuthorizationForObject'),
48+
isLoading: observableOf(true),
49+
hasErrors: observableOf(false),
50+
getSiteAuthorization: observableOf([]),
51+
getAuthorizationForObject: observableOf(false),
5252
initStateForObjects: jasmine.createSpy('initStateForObjects')
5353
});
5454
objectCache = getMockObjectCacheService();

0 commit comments

Comments
 (0)