diff --git a/extend/src/test/functional/MPriceListVersionTest.java b/extend/src/test/functional/MPriceListVersionTest.java index ff59d82e5e..495078289c 100644 --- a/extend/src/test/functional/MPriceListVersionTest.java +++ b/extend/src/test/functional/MPriceListVersionTest.java @@ -34,7 +34,7 @@ public class MPriceListVersionTest extends AdempiereTestCase public void testQuery() throws Exception { MPriceListVersion plv = new MPriceListVersion(getCtx(), 101, getTrxName()); - MProductPrice[] pp = plv.getProductPrice(false); //red1 tested also with (true) and ("isActive='Y'") + MProductPrice[] pp = plv.getProductPrice("AND isActive='Y'"); //red1 tested also with (true) and (false) assertTrue("product must have prices", pp.length > 0); }