Browse Source

Tests fixed.

pull/342/head
Sebastian Stehle 7 years ago
parent
commit
5cd0328465
  1. 4
      src/Squidex/app/shared/services/help.service.spec.ts

4
src/Squidex/app/shared/services/help.service.spec.ts

@ -35,7 +35,7 @@ describe('AppClientsService', () => {
helpSections = result;
});
const req = httpMock.expectOne('https://api.gitbook.com/book/squidex/squidex/contents/01-chapter/02-article.json');
const req = httpMock.expectOne('https://raw.githubusercontent.com/Squidex/squidex-docs/master/01-chapter/02-article.md');
expect(req.request.method).toEqual('GET');
expect(req.request.headers.get('If-Match')).toBeNull();
@ -54,7 +54,7 @@ describe('AppClientsService', () => {
helpSections = result;
});
const req = httpMock.expectOne('https://api.gitbook.com/book/squidex/squidex/contents/01-chapter/02-article.json');
const req = httpMock.expectOne('https://raw.githubusercontent.com/Squidex/squidex-docs/master/01-chapter/02-article.md');
expect(req.request.method).toEqual('GET');
expect(req.request.headers.get('If-Match')).toBeNull();

Loading…
Cancel
Save