Skip to content

Commit e809efc

Browse files
committed
codacy happiness
1 parent 954213b commit e809efc

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎dockstore-cli-integration-testing/src/test/java/io/dockstore/common/CLICommonTestUtilities.java‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public static void cleanStatePrivate1(DropwizardTestSupport<DockstoreWebserviceC
150150
TestingPostgres testingPostgres, Boolean needBitBucketToken) throws Exception {
151151
LOG.info("Dropping and Recreating the database with confidential 1 test data");
152152
cleanStatePrivate1(support, CONFIDENTIAL_CONFIG_PATH);
153-
handleBitBucketTokens(support, testingPostgres);
153+
handleBitBucketTokens(testingPostgres);
154154
}
155155
/**
156156
* Wrapper for dropping and recreating database from migrations for test confidential 1
@@ -195,10 +195,9 @@ private static void cleanStatePrivate1(DropwizardTestSupport<DockstoreWebservice
195195

196196
/**
197197
* TODO: do not modify, should be deleted with next webservice release if the method can be made public
198-
* @param support
199198
* @param testingPostgres
200199
*/
201-
private static void handleBitBucketTokens(DropwizardTestSupport<DockstoreWebserviceConfiguration> support, TestingPostgres testingPostgres) {
200+
private static void handleBitBucketTokens(TestingPostgres testingPostgres) {
202201
deleteBitBucketToken(testingPostgres);
203202
}
204203

@@ -223,7 +222,7 @@ public static void cleanStatePrivate2(DropwizardTestSupport<DockstoreWebserviceC
223222
TestingPostgres testingPostgres, boolean needBitBucketToken) throws Exception {
224223
LOG.info("Dropping and Recreating the database with confidential 2 test data");
225224
cleanStatePrivate2(support, CONFIDENTIAL_CONFIG_PATH, isNewApplication);
226-
handleBitBucketTokens(support, testingPostgres);
225+
handleBitBucketTokens(testingPostgres);
227226
}
228227

229228
/**

0 commit comments

Comments
 (0)