Test fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2006-01-26 16:36:48 +00:00
parent aa831ddd85
commit 05a1f2b65f
2 changed files with 3 additions and 8 deletions

View File

@@ -179,8 +179,6 @@ public class PersonTest extends BaseSpringTest
assertTrue(personService.getAllPeople().contains(personService.getPerson("andy")));
assertTrue(personService.getAllPeople().contains(personService.getPerson("derek")));
setComplete();
endTransaction();
}
public void testMutableProperties()
@@ -191,9 +189,7 @@ public class PersonTest extends BaseSpringTest
assertTrue(personService.getMutableProperties().contains(ContentModel.PROP_LASTNAME));
assertTrue(personService.getMutableProperties().contains(ContentModel.PROP_EMAIL));
assertTrue(personService.getMutableProperties().contains(ContentModel.PROP_ORGID));
setComplete();
endTransaction();
}
public void testPersonCRUD1()
@@ -265,9 +261,7 @@ public class PersonTest extends BaseSpringTest
personService.deletePerson("derek");
assertEquals(0, personService.getAllPeople().size());
setComplete();
endTransaction();
}
private void testProperties(NodeRef nodeRef, String userName, String firstName, String lastName, String email,