Skip to content

Commit

Permalink
pmd check
Browse files Browse the repository at this point in the history
  • Loading branch information
cgardens committed Nov 21, 2022
1 parent dfa52f8 commit 71dac20
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,17 @@
class ActorDefinitionPersistenceTest extends BaseConfigDatabaseTest {

private static final UUID WORKSPACE_ID = UUID.randomUUID();
private static final UUID SOURCE_DEFINITION_ID = UUID.randomUUID();
private static final UUID DESTINATION_DEFINITION_ID = UUID.randomUUID();

private ConfigRepository configRepository;
private StandardSyncPersistence standardSyncPersistence;

@BeforeEach
void setup() throws SQLException {
truncateAllTables();

standardSyncPersistence = mock(StandardSyncPersistence.class);
configRepository = spy(new ConfigRepository(
database,
new ActorDefinitionMigrator(new ExceptionWrappingDatabase(database)),
standardSyncPersistence));
mock(StandardSyncPersistence.class)));
}

@Test
Expand Down Expand Up @@ -196,7 +192,7 @@ void assertReturnsDestDef(final StandardDestinationDefinition destDef) throws Co
}

@Test
void testDestinationDefinitionFromDestination() throws JsonValidationException, ConfigNotFoundException, IOException {
void testDestinationDefinitionFromDestination() throws JsonValidationException, IOException {
final StandardWorkspace workspace = createBaseStandardWorkspace();
final StandardDestinationDefinition destDef = createBaseDestDef().withTombstone(false);
final DestinationConnection dest = createDest(destDef.getDestinationDefinitionId(), workspace.getWorkspaceId());
Expand Down

0 comments on commit 71dac20

Please sign in to comment.