From 30e7e9c531c5888460a2182f3fb538a1369bfd69 Mon Sep 17 00:00:00 2001 From: Andrew Fawcett Date: Sun, 30 Aug 2015 10:39:22 +0100 Subject: [PATCH] Fixed test failure in namespaced (aka packaged) org --- rolluptool/src/classes/RollupServiceTest4.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rolluptool/src/classes/RollupServiceTest4.cls b/rolluptool/src/classes/RollupServiceTest4.cls index 59b6c539..b81f1861 100644 --- a/rolluptool/src/classes/RollupServiceTest4.cls +++ b/rolluptool/src/classes/RollupServiceTest4.cls @@ -1034,8 +1034,8 @@ private class RollupServiceTest4 { String relationshipField = LookupChild__c.LookupParent__c.getDescribe().getName(); String aggregateField = LookupChild__c.Color__c.getDescribe().getName(); String aggregateResultField = LookupParent__c.Colours__c.getDescribe().getName(); - String condition = 'Amount__c > 1'; - List relationshipCriteriaFields = new List { 'Amount__c', 'Name', 'Id', 'IsDeleted' }; + String condition = LookupChild__c.Amount__c.getDescribe().getName() + ' > 1'; + List relationshipCriteriaFields = new List { LookupChild__c.Amount__c.getDescribe().getName(), 'Name', 'Id', 'IsDeleted' }; String sharingMode = LREngine.SharingMode.User.name(); String fieldToOrderBy = LookupChild__c.Amount__c.getDescribe().getName();