diff options
Diffstat (limited to 'sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java')
-rw-r--r-- | sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java b/sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java index 122c108ed03..6adf642245d 100644 --- a/sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java +++ b/sonar-db/src/test/java/org/sonar/db/component/ComponentDaoWithDuplicatedKeysTest.java @@ -21,12 +21,10 @@ package org.sonar.db.component; import org.junit.Rule; import org.junit.Test; -import org.junit.experimental.categories.Category; import org.sonar.api.utils.System2; import org.sonar.db.DbClient; import org.sonar.db.DbSession; import org.sonar.db.DbTester; -import org.sonar.test.DbTests; import static org.assertj.core.api.Assertions.assertThat; import static org.sonar.db.component.ComponentTesting.newProjectDto; @@ -34,7 +32,7 @@ import static org.sonar.db.component.ComponentTesting.newProjectDto; /** * On H2, the index on PROJECTS.KEE is unique. In order to simulate the MySQL behaviour where the index is not unique, we need to create a schema where there's no unique index on PROJECTS.KEE */ -@Category(DbTests.class) + public class ComponentDaoWithDuplicatedKeysTest { static final String PROJECT_KEY = "PROJECT_KEY"; |