This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new 8bd1ab5 Fix errors in unit test
8bd1ab5 is described below
commit 8bd1ab578b55e57ddd7d48f2c77018b5c09feb40
Author: Serge Huber <[email protected]>
AuthorDate: Thu Aug 27 10:02:53 2020 +0200
Fix errors in unit test
---
.../src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java
b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java
index f0cd5f2..5a2421e 100644
--- a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java
@@ -155,8 +155,8 @@ public class ConditionEvaluatorIT extends BaseIT {
assertTrue(eval(doubleProperty.equalTo(0.15).build()));
assertTrue(eval(builder.not(doubleProperty.equalTo(2.5)).build()));
assertTrue(eval(doubleProperty.notEqualTo(2.5).build()));
- assertTrue(eval(doubleProperty.lessThan(0.13).build()));
- assertTrue(eval(doubleProperty.greaterThan(0.17).build()));
+ assertTrue(eval(doubleProperty.greaterThan(0.13).build()));
+ assertTrue(eval(doubleProperty.lessThan(0.17).build()));
assertTrue(eval(doubleProperty.greaterThanOrEqualTo(0.15).build()));
assertTrue(eval(doubleProperty.in(0.15).build()));
assertTrue(eval(doubleProperty.in(0.18, 0.15).build()));