IDEMPIERE-5018 Vendor changed to customer when edited using Quick Entry (#953)

Fix unit test
This commit is contained in:
hengsin 2021-10-28 17:13:10 +08:00 committed by GitHub
parent 9abc2c09e2
commit 4e867f161e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -131,9 +131,9 @@ public class CalloutTest extends AbstractTestCase {
+I_M_InventoryLine.COLUMNNAME_M_AttributeSetInstance_ID);
calloutClass = "org.adempiere.model.CalloutBPartnerQuickEntry";
callouts = ColumnCalloutManager.findCallout(MBPartner.Table_Name, MBPartner.COLUMNNAME_Name);
assertNotNull(callouts, "Null column callouts for "+MBPartner.Table_Name+"."+MBPartner.COLUMNNAME_Name);
assertTrue(callouts.size() > 0, "Empty column callouts for "+MBPartner.Table_Name+"."+MBPartner.COLUMNNAME_Name);
callouts = ColumnCalloutManager.findCallout(MBPartner.Table_Name, MBPartner.COLUMNNAME_C_BPartner_ID);
assertNotNull(callouts, "Null column callouts for "+MBPartner.Table_Name+"."+MBPartner.COLUMNNAME_C_BPartner_ID);
assertTrue(callouts.size() > 0, "Empty column callouts for "+MBPartner.Table_Name+"."+MBPartner.COLUMNNAME_C_BPartner_ID);
found = 0;
for(IColumnCallout callout : callouts) {
if (callout.getClass().getName().equals(calloutClass)) {