mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
formvalues cast remove
This commit is contained in:
parent
faaa4a3a21
commit
42028d98d3
@ -19,7 +19,6 @@ import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEac
|
|||||||
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
||||||
import { Response, ResponseOptions } from '@angular/http';
|
import { Response, ResponseOptions } from '@angular/http';
|
||||||
import { FormService } from './form.service';
|
import { FormService } from './form.service';
|
||||||
import { FormValues } from './../components/widgets/core/index';
|
|
||||||
|
|
||||||
declare let jasmine: any;
|
declare let jasmine: any;
|
||||||
|
|
||||||
@ -105,7 +104,7 @@ describe('FormService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should save task form', (done) => {
|
it('should save task form', (done) => {
|
||||||
let values = <FormValues> {
|
let values = {
|
||||||
field1: 'one',
|
field1: 'one',
|
||||||
field2: 'two'
|
field2: 'two'
|
||||||
};
|
};
|
||||||
@ -125,7 +124,7 @@ describe('FormService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should complete task form', (done) => {
|
it('should complete task form', (done) => {
|
||||||
let values = <FormValues> {
|
let values = {
|
||||||
field1: 'one',
|
field1: 'one',
|
||||||
field2: 'two'
|
field2: 'two'
|
||||||
};
|
};
|
||||||
@ -145,7 +144,7 @@ describe('FormService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should complete task form with a specific outcome', (done) => {
|
it('should complete task form with a specific outcome', (done) => {
|
||||||
let values = <FormValues> {
|
let values = {
|
||||||
field1: 'one',
|
field1: 'one',
|
||||||
field2: 'two'
|
field2: 'two'
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user