Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…9d5-7e28-3e6c-ac1830307ffc
  • Loading branch information
ppekkane committed Dec 15, 2009
1 parent 8db920d commit 2077d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fi/hut/soberit/agilefant/web/StoryActionTest.java
Expand Up @@ -228,8 +228,8 @@ public void testRankStory() {


expect(storyBusiness.retrieve(123)).andReturn(lower); expect(storyBusiness.retrieve(123)).andReturn(lower);
expect(storyBusiness.retrieveIfExists(666)).andReturn(upper); expect(storyBusiness.retrieveIfExists(666)).andReturn(upper);

expect(backlogBusiness.retrieveIfExists(222)).andReturn(iter);
expect(storyBusiness.rankStory(lower, upper, null)).andReturn(returned); expect(storyBusiness.rankStory(lower, upper, iter)).andReturn(returned);


replayAll(); replayAll();
assertEquals(Action.SUCCESS, storyAction.rankStory()); assertEquals(Action.SUCCESS, storyAction.rankStory());
Expand Down

0 comments on commit 2077d0e

Please sign in to comment.