Skip to content

Commit

Permalink
Fixes #662
Browse files Browse the repository at this point in the history
Removed ActivityService methods with object parameters in favour of key parameter methods
  • Loading branch information
wszarmach committed Aug 24, 2015
1 parent a7fb00d commit 72c3621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void testSubscribe() throws Exception {
assertNotNull(subscription);
assertEquals(testUser1.getId(), subscription.getUserRef().getKey());
assertEquals(activity.getId(), subscription.getActivityRef().getKey());
assertEquals(1, activity.getSubscriptionCount());
assertEquals(1, Datastore.get(Activity.class, activity.getId()).getSubscriptionCount());
List<Subscription> modelList = activity.getSubscriptionListRef().getModelList();
assertEquals(1, modelList.size());
assertEquals(subscription.getId(), modelList.get(0).getId());
Expand Down

0 comments on commit 72c3621

Please sign in to comment.