Fixed failing tests, and added new tests

This commit is contained in:
Henry
2017-03-26 17:02:00 -07:00
parent 529abcc4b0
commit 4e457f1cf0
13 changed files with 245 additions and 24 deletions

View File

@ -161,6 +161,7 @@ define(
'otherType',
['getKey']
),
//Create a form structure with location
structure = wizard.getFormStructure(true),
sections = structure.sections,
@ -174,7 +175,7 @@ define(
// can actually contain objects of this type
expect(mockPolicyService.allow).toHaveBeenCalledWith(
'composition',
mockOtherType,
mockDomainObj,
mockDomainObject
);
});