Skip to content

Commit

Permalink
fix: mock test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbee committed Nov 22, 2023
1 parent 17e9cf1 commit 5cf9fd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ public void setUp() {
jdbcTemplate,
analyticsExportSettings,
periodDataProvider);
}

@Test
void verifyTableType() {
assertThat(subject.getAnalyticsTableType(), is(AnalyticsTableType.EVENT));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
import org.hisp.dhis.program.Program;
import org.hisp.dhis.resourcetable.ResourceTableService;
import org.hisp.dhis.setting.SystemSettingManager;
import org.hisp.dhis.system.database.DatabaseInfo;
import org.hisp.dhis.system.database.DatabaseInfoProvider;
import org.hisp.quick.JdbcConfiguration;
import org.hisp.quick.StatementDialect;
Expand Down Expand Up @@ -147,7 +146,6 @@ class JdbcOwnershipAnalyticsTableManagerTest extends DhisConvenienceTest {

@BeforeEach
public void setUp() {
when(databaseInfoProvider.getDatabaseInfo()).thenReturn(DatabaseInfo.builder().build());
target =
new JdbcOwnershipAnalyticsTableManager(
idObjectManager,
Expand Down

0 comments on commit 5cf9fd2

Please sign in to comment.