-- no failure of method but failure due to subject context
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
Redhuan D. Oon 2010-03-17 09:44:29 +00:00
parent 3c2b16695f
commit 5be63716af
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ public class MColorTest extends AdempiereTestCase
public void testQuery() throws Exception
{
MColor clr = new MColor(getCtx(),1,getTrxName());
MColor clr = new MColor(getCtx(),1,getTrxName()); //red1 put in dummy record that has COLORTYPE = 'R' for and ADImageID = 101
CompiereColor url = clr.getAdempiereColor();
assertTrue("Color must be right", url.toString()=="");
assertTrue("Color must be right", url.toString().length()>0);
}