fixed an issue where certain GET requests would be performed more often then needed and added tests for the requestservice (not everything tested yet)

This commit is contained in:
Art Lowel
2018-01-18 13:51:01 +01:00
parent f349f27002
commit 4c361d25b6
6 changed files with 323 additions and 54 deletions

View File

@@ -0,0 +1,7 @@
import { ObjectCacheService } from '../../core/cache/object-cache.service';
export function initMockObjectCacheService(): ObjectCacheService {
return jasmine.createSpyObj('objectCacheService', {
hasBySelfLink: true,
});
}