test(snapping): fix BpmnSnappingUtil tests

This commit is contained in:
Nico Rehwaldt 2015-10-23 11:35:29 +02:00
parent 4ea70a05de
commit 2c3767a0e7
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ describe('features/snapping - BpmnSnappingUtil', function() {
aboveLaneShape = elementRegistry.get('Nested_Lane_A');
// when
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 'n');
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 'n', true);
// then
expect(sizeConstraints).to.eql({
@ -136,7 +136,7 @@ describe('features/snapping - BpmnSnappingUtil', function() {
otherLaneShape = elementRegistry.get('Lane_B');
// when
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 's');
var sizeConstraints = getParticipantSizeConstraints(resizeShape, 's', true);
// then
expect(sizeConstraints).to.eql({