Browse Source
Merge pull request #14308 from irynamatveieva/fix/msa-test
Fixed compilation error in CF msa tests
pull/14310/head
Viacheslav Klimov
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
4 deletions
-
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/cf/CalculatedFieldTest.java
|
|
|
@ -449,8 +449,7 @@ public class CalculatedFieldTest extends AbstractContainerTest { |
|
|
|
cf.setConfigurationVersion(1); |
|
|
|
|
|
|
|
PropagationCalculatedFieldConfiguration cfg = new PropagationCalculatedFieldConfiguration(); |
|
|
|
cfg.setDirection(EntitySearchDirection.TO); |
|
|
|
cfg.setRelationType(EntityRelation.CONTAINS_TYPE); |
|
|
|
cfg.setRelation(new RelationPathLevel(EntitySearchDirection.TO, EntityRelation.CONTAINS_TYPE)); |
|
|
|
cfg.setApplyExpressionToResolvedArguments(true); |
|
|
|
|
|
|
|
Argument arg = new Argument(); |
|
|
|
@ -535,8 +534,7 @@ public class CalculatedFieldTest extends AbstractContainerTest { |
|
|
|
cf.setConfigurationVersion(1); |
|
|
|
|
|
|
|
PropagationCalculatedFieldConfiguration cfg = new PropagationCalculatedFieldConfiguration(); |
|
|
|
cfg.setDirection(EntitySearchDirection.TO); |
|
|
|
cfg.setRelationType(EntityRelation.CONTAINS_TYPE); |
|
|
|
cfg.setRelation(new RelationPathLevel(EntitySearchDirection.TO, EntityRelation.CONTAINS_TYPE)); |
|
|
|
cfg.setApplyExpressionToResolvedArguments(false); // arguments-only mode
|
|
|
|
|
|
|
|
Argument arg = new Argument(); |
|
|
|
|