Fix test failure

Now all tests should pass. The error was introduced in the commit
4baa93d790.
This commit is contained in:
Oscar Gonzalez Fernandez 2013-11-26 19:49:10 +01:00
parent b7662d620c
commit 7e773b7eb1

View file

@ -43,8 +43,6 @@ import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.libreplan.business.IDataBootstrap;
import org.libreplan.business.common.IAdHocTransactionService;
import org.libreplan.business.common.IOnTransaction;
import org.libreplan.business.externalcompanies.daos.IExternalCompanyDAO;
import org.libreplan.business.externalcompanies.entities.ExternalCompany;
import org.libreplan.business.orders.daos.IOrderDAO;
@ -212,7 +210,7 @@ public class SubcontractServiceTest {
assertThat(order.getName(), equalTo(orderName));
assertThat(order.getCustomerReference(),
equalTo(orderCustomerReference));
assertThat(order.getResourcesBudget(), equalTo(orderBudget));
assertThat(order.getTotalManualBudget(), equalTo(orderBudget));
List<OrderElement> children = order.getChildren();
assertThat(children.size(), equalTo(1));