Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade test framework allowing to upgrade parent pom #130

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-parent-pom</artifactId>
<version>0.4.0</version> <!-- Replace with the desired version -->
<version>0.5.0</version> <!-- Replace with the desired version -->
</parent>

<groupId>org.liquibase.ext</groupId>
Expand All @@ -20,6 +20,8 @@

<properties>
<liquibase.version>4.29.2</liquibase.version>
<junit.version>5.11.3</junit.version>
<junit-platform.version>1.11.3</junit-platform.version>
</properties>

<dependencies>
Expand All @@ -35,6 +37,36 @@
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-suite</artifactId>
<version>${junit-platform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit-platform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<scm>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package liquibase.lockservice.ext;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertFalse;

class NoChangelogLockConfigurationTest {

@Test
void testDisabledByDefault() {
assertFalse(NoChangelogLockConfiguration.TABLE_ENABLED.getCurrentValue());
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package liquibase.locksevice.ext;
package liquibase.lockservice.ext;

import liquibase.lockservice.ext.NoOpLockService;
import org.junit.Test;

import static org.junit.Assert.*;
Expand All @@ -12,4 +11,4 @@ public void getPriority() {
assertEquals(1000, new NoOpLockService().getPriority());
}

}
}
Loading