details:   https://code.openbravo.com/erp/devel/pi/rev/7ee008d11b6a
changeset: 32677:7ee008d11b6a
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Wed Sep 13 10:03:47 2017 +0200
summary:   related to issue 36834: Removed unneeded test

diffstat:

 src-test/src/org/openbravo/test/expression/OBBindingsTest.java |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r c919c3df8538 -r 7ee008d11b6a 
src-test/src/org/openbravo/test/expression/OBBindingsTest.java
--- a/src-test/src/org/openbravo/test/expression/OBBindingsTest.java    Wed Sep 
13 09:59:56 2017 +0200
+++ b/src-test/src/org/openbravo/test/expression/OBBindingsTest.java    Wed Sep 
13 10:03:47 2017 +0200
@@ -66,13 +66,6 @@
   }
 
   @Test
-  public void formatNowDate() throws ScriptException {
-    Object result = engine.eval("OB.formatDate(new Date())");
-    String expectedDate = new SimpleDateFormat("dd-MM-yyyy").format(new 
Date());
-    assertThat(result.toString(), equalTo(expectedDate));
-  }
-
-  @Test
   public void formatDate() throws ScriptException {
     Object result = engine.eval("OB.formatDate(new Date('12/29/2017'))");
     assertThat(result.toString(), equalTo("29-12-2017"));

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to