JUNIT TEST for http://adempiere.svn.sourceforge.net/adempiere/?rev=11168 &view=rev
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
a25b4c6260
commit
4a40f04a9c
|
@ -34,7 +34,7 @@ public class MPriceListVersionTest extends AdempiereTestCase
|
||||||
public void testQuery() throws Exception
|
public void testQuery() throws Exception
|
||||||
{
|
{
|
||||||
MPriceListVersion plv = new MPriceListVersion(getCtx(), 101, getTrxName());
|
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);
|
assertTrue("product must have prices", pp.length > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue