mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#921 - Refactor internals - Change internal use of "findRowCount" to "findCount"
This commit is contained in:
@@ -66,7 +66,7 @@ public class TestSoftDeleteBasic extends BaseTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDeleteById_and_findRowCount() {
|
||||
public void testDeleteById_and_findCount() {
|
||||
|
||||
EBasicSoftDelete bean = new EBasicSoftDelete();
|
||||
bean.setName("two");
|
||||
@@ -77,7 +77,7 @@ public class TestSoftDeleteBasic extends BaseTestCase {
|
||||
Ebean.delete(EBasicSoftDelete.class, bean.getId());
|
||||
|
||||
|
||||
// -- test .findRowCount()
|
||||
// -- test .findCount()
|
||||
|
||||
LoggedSqlCollector.start();
|
||||
int rowCountAfter = Ebean.find(EBasicSoftDelete.class).findCount();
|
||||
@@ -88,7 +88,7 @@ public class TestSoftDeleteBasic extends BaseTestCase {
|
||||
|
||||
assertThat(rowCountAfter).isEqualTo(rowCountBefore - 1);
|
||||
|
||||
// -- test includeSoftDeletes().findRowCount()
|
||||
// -- test includeSoftDeletes().findCount()
|
||||
|
||||
LoggedSqlCollector.start();
|
||||
int rowCountFull = Ebean.find(EBasicSoftDelete.class).setIncludeSoftDeletes().findCount();
|
||||
|
||||
Reference in New Issue
Block a user