Permalink
Browse files

Fix failing test

This is related to the fix for GRAILS-8915 at 27f3549
  • Loading branch information...
1 parent 3e92fe1 commit 3c7feb6bfed21c5929d17ef89a54efca85fc2659 @jeffbrown jeffbrown committed Jun 27, 2012
@@ -76,7 +76,7 @@ protected Object getResult(Criteria crit) {
return getResult(crit, useLimit);
}
- private Object getResult(Criteria crit, boolean useLimit) {
+ protected Object getResult(Criteria crit, boolean useLimit) {
if(useLimit) {
final List<?> list = crit.list();
if (!list.isEmpty()) {
@@ -43,7 +43,7 @@ class TestFindBy extends AbstractFindByPersistentMethod {
}
@Override
- protected Object getResult(Criteria crit) {
+ protected Object getResult(Criteria crit, boolean useLimit) {
return crit;
}

0 comments on commit 3c7feb6

Please sign in to comment.