Browse Source

Tests fixed.

pull/343/head
Sebastian Stehle 7 years ago
parent
commit
8ebc7bd744
  1. 3
      src/Squidex/app/shared/services/schemas.service.spec.ts

3
src/Squidex/app/shared/services/schemas.service.spec.ts

@ -25,7 +25,6 @@ import {
UpdateFieldDto, UpdateFieldDto,
UpdateSchemaCategoryDto, UpdateSchemaCategoryDto,
UpdateSchemaDto, UpdateSchemaDto,
UpdateSchemaScriptsDto,
Version Version
} from './../'; } from './../';
@ -374,7 +373,7 @@ describe('SchemasService', () => {
it('should make put request to update schema scripts', it('should make put request to update schema scripts',
inject([SchemasService, HttpTestingController], (schemasService: SchemasService, httpMock: HttpTestingController) => { inject([SchemasService, HttpTestingController], (schemasService: SchemasService, httpMock: HttpTestingController) => {
const dto = new UpdateSchemaScriptsDto({}); const dto = {};
schemasService.putScripts('my-app', 'my-schema', dto, version).subscribe(); schemasService.putScripts('my-app', 'my-schema', dto, version).subscribe();

Loading…
Cancel
Save