]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22807 Make MigrationDbTester final to fix migration QA
authorNolwenn Cadic <nolwenn.cadic@sonarsource.com>
Fri, 30 Aug 2024 12:59:01 +0000 (14:59 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 30 Aug 2024 20:02:41 +0000 (20:02 +0000)
server/sonar-db-migration/src/it/java/org/sonar/server/platform/db/migration/version/v107/DropGithubPermsMappingTableIfDevopsPermsMappingTableExistsIT.java

index dca7661cfbe02d9aa3fcae86fa959ef79222a176..06c6df3e50bc7dbaadd980e078cdeccf57c56cc4 100644 (file)
@@ -30,7 +30,7 @@ import static org.sonar.server.platform.db.migration.version.v107.RenameGithubPe
 class DropGithubPermsMappingTableIfDevopsPermsMappingTableExistsIT {
 
   @RegisterExtension
-  public static MigrationDbTester db = MigrationDbTester.createForMigrationStep(DropGithubPermsMappingTableIfDevopsPermsMappingTableExists.class);
+  public final MigrationDbTester db = MigrationDbTester.createForMigrationStep(DropGithubPermsMappingTableIfDevopsPermsMappingTableExists.class);
 
   private final DropGithubPermsMappingTableIfDevopsPermsMappingTableExists underTest = new DropGithubPermsMappingTableIfDevopsPermsMappingTableExists(db.database());