details:   https://code.openbravo.com/erp/devel/pi/rev/e81a78a7757b
changeset: 34006:e81a78a7757b
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Tue May 22 19:18:03 2018 +0200
summary:   related to issue 38520: fix test case problems

 - Initialize test observers after DAL re-initialization done to register SQL 
functions. This way the observers will get the references of the entities in 
the refreshed DAL layer

diffstat:

 
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 6c488ffc5162 -r e81a78a7757b 
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
--- 
a/modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
       Tue May 22 17:51:09 2018 +0200
+++ 
b/modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
       Tue May 22 19:18:03 2018 +0200
@@ -48,9 +48,9 @@
   @Before
   @Override
   public void setUp() throws Exception {
+    super.setUp();
     OrderTestObserver.resetExecutionCount();
     OrderLineTestObserver.resetExecutionCount();
-    super.setUp();
   }
 
   protected OrderLine pickARandomOrderLine() {

------------------------------------------------------------------------------
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