Skip to content

Commit

Permalink
fix: update project service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfaron committed Sep 22, 2023
1 parent 75da4bb commit 5d842c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aas-portal-project",
"version": "3.0.1",
"version": "3.0.2",
"description": "Web-based visualization and control of asset administration shells.",
"type": "module",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('ProjectService', () => {

api.getContent.and.returnValue(of(content));

auth = jasmine.createSpyObj<AuthService>('AuthService', ['checkCookie', 'getCookie', 'setCookie']);
auth = jasmine.createSpyObj<AuthService>('AuthService', ['checkCookie', 'getCookie', 'setCookie'], { ready: of(true) });
auth.checkCookie.and.returnValue(false);

TestBed.configureTestingModule({
Expand Down

0 comments on commit 5d842c3

Please sign in to comment.