Skip to content
Snippets Groups Projects
Commit f9c16f5c authored by felmer's avatar felmer
Browse files

LMS-1535 test fixed

SVN: 16249
parent c13ed2a7
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ public class EntityTypePropertyTypeBO extends AbstractBusinessObject implements
defaultValue);
for (int i = 0; i < entities.size(); i++)
{
if (i % 1000 == 0)
if (i > 0 && i % 1000 == 0)
{
if (operationLog.isDebugEnabled())
{
......
......@@ -118,6 +118,9 @@ public final class EntityTypePropertyTypeBOTest extends AbstractBOTest
context.checking(new Expectations()
{
{
one(daoFactory).setBatchUpdateMode(true);
one(daoFactory).setBatchUpdateMode(false);
one(entityPropertyTypeDAO).tryFindAssignment(experimentType, propertyType);
will(returnValue(null));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment