You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-commits@incubator.apache.org by lr...@apache.org on 2011/08/19 01:18:04 UTC
svn commit: r1159468 -
/incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java
Author: lresende
Date: Fri Aug 19 01:18:04 2011
New Revision: 1159468
URL: http://svn.apache.org/viewvc?rev=1159468&view=rev
Log:
Updating test after person service method refactoring
Modified:
incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java
Modified: incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java?rev=1159468&r1=1159467&r2=1159468&view=diff
==============================================================================
--- incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java (original)
+++ incubator/photark/branches/photark-rest/photark-social/src/test/java/org/apache/photark/social/person/test/RelationshipManagerTestCase.java Fri Aug 19 01:18:04 2011
@@ -52,19 +52,19 @@ public class RelationshipManagerTestCase
person.setDisplayName("TestUser1");
person.setFirstName("test");
person.setLastName("user1");
- pm.savePerson("user1", person);
+ pm.addPerson(person);
Person person2 = new Person();
person2.setId("user2");
person2.setDisplayName("TestUser2");
person2.setFirstName("test");
person2.setLastName("user2");
- pm.savePerson("user2", person2);
+ pm.addPerson(person2);
Person person3 = new Person();
person3.setId("user3");
person3.setDisplayName("TestUser3");
person3.setFirstName("test");
person3.setLastName("user3");
- pm.savePerson("user3", person3);
+ pm.addPerson(person3);
// Test acceptReationship()
relationshipManager.requestRelationship("user2", "user1");
// Test getPendingRelationship()