Browse Source

Test fixed

pull/65/head
Sebastian Stehle 10 years ago
parent
commit
9ee2b9246d
  1. 2
      src/Squidex/app/shared/services/contents.service.spec.ts

2
src/Squidex/app/shared/services/contents.service.spec.ts

@ -85,7 +85,7 @@ describe('ContentsService', () => {
}); });
it('should append query to get request as search', () => { it('should append query to get request as search', () => {
authService.setup(x => x.authGet('http://service/p/api/content/my-app/my-schema?nonPublished=true&hidden=true&$search=my-query&$top=17&$skip=13')) authService.setup(x => x.authGet('http://service/p/api/content/my-app/my-schema?nonPublished=true&hidden=true&$search="my-query"&$top=17&$skip=13'))
.returns(() => Observable.of( .returns(() => Observable.of(
new Response( new Response(
new ResponseOptions({ new ResponseOptions({

Loading…
Cancel
Save