Skip to content

Commit

Permalink
Fix session cleaning missing in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nmervaillie committed Sep 29, 2017
1 parent eb9b077 commit 2db87fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ public void shouldBeAbleToLoadIngredientsWithPagingAndDepth() {
pairings = session.loadAll(Pairing.class, new Pagination(0, 2));
assertThat(pairings).hasSize(2);

session.clear();

pairings = session.loadAll(Pairing.class, new Pagination(0, 3));
assertThat(pairings).hasSize(3);
}
Expand Down

0 comments on commit 2db87fa

Please sign in to comment.