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