-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One more rename for methods retrieveActivity and retrievePerson
- Loading branch information
1 parent
3f95430
commit 9c8ba97
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -523,8 +523,8 @@ public void testClearState() throws Exception { | |
} | ||
|
||
@Test | ||
public void testRetrieveFullActivity() throws Exception { | ||
ActivityProfileLRSResponse lrsResponse = lrs.retrieveFullActivity(activity); | ||
public void testRetrieveActivity() throws Exception { | ||
ActivityProfileLRSResponse lrsResponse = lrs.retrieveActivity(activity); | ||
Assert.assertTrue(lrsResponse.getSuccess()); | ||
|
||
ActivityProfileDocument returnedDoc = lrsResponse.getContent(); | ||
|
@@ -536,7 +536,7 @@ public void testRetrieveFullActivity() throws Exception { | |
Activity noActivity = new Activity(); | ||
noActivity.setId("https://brindlewaye.com/xAPITerms/Activity/NeverGonnaHappen/"); | ||
|
||
ActivityProfileLRSResponse lrsResponse2 = lrs.retrieveFullActivity(noActivity); | ||
ActivityProfileLRSResponse lrsResponse2 = lrs.retrieveActivity(noActivity); | ||
// Report success even though response status was 404 | ||
Assert.assertTrue(lrsResponse2.getSuccess()); | ||
Assert.assertTrue(lrsResponse2.getResponse().getStatus() == 404); | ||
|
@@ -695,8 +695,8 @@ public void testDeleteActivityProfile() throws Exception { | |
} | ||
|
||
@Test | ||
public void testRetrieveCombinedPerson() throws Exception { | ||
AgentProfileLRSResponse lrsResponse = lrs.retrieveCombinedPerson(agent); | ||
public void testRetrievePerson() throws Exception { | ||
AgentProfileLRSResponse lrsResponse = lrs.retrievePerson(agent); | ||
Assert.assertTrue(lrsResponse.getSuccess()); | ||
|
||
AgentProfileDocument returnedDoc = lrsResponse.getContent(); | ||
|
@@ -709,7 +709,7 @@ public void testRetrieveCombinedPerson() throws Exception { | |
noAgent.setMbox("mailto:[email protected]"); | ||
noAgent.setName("No One"); | ||
|
||
AgentProfileLRSResponse lrsResponse2 = lrs.retrieveCombinedPerson(noAgent); | ||
AgentProfileLRSResponse lrsResponse2 = lrs.retrievePerson(noAgent); | ||
Assert.assertTrue(lrsResponse2.getSuccess()); | ||
Assert.assertTrue(lrsResponse2.getResponse().getStatus() == 200); | ||
|
||
|