From 5cd032846508c8c0760a7810ddc671db59a9a944 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Sun, 6 Jan 2019 14:28:20 +0100 Subject: [PATCH] Tests fixed. --- src/Squidex/app/shared/services/help.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Squidex/app/shared/services/help.service.spec.ts b/src/Squidex/app/shared/services/help.service.spec.ts index ab1ebb3e4..b3cc4552a 100644 --- a/src/Squidex/app/shared/services/help.service.spec.ts +++ b/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();