Skip to content

Commit

Permalink
Merge branch 'release/0.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
zambrovski committed Apr 26, 2022
2 parents 1396839 + 1cf2710 commit 25d1b43
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.holunda</groupId>
<artifactId>camunda-platform-7-autologin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<url>https://github.com/holunda-io/camunda-platform-7-autologin/</url>
Expand All @@ -27,7 +27,6 @@
<scope>import</scope>
<type>pom</type>
</dependency>

<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-bom</artifactId>
Expand Down Expand Up @@ -59,6 +58,16 @@
<artifactId>kotlin-logging-jvm</artifactId>
<version>2.1.21</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package io.holunda.camunda.platform.login


import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

class CamundaLoginPropertiesTest {

@Test
fun `should have correct defaults`() {
val properties = CamundaLoginProperties()
assertThat(properties.userId).isEqualTo("nobody")
assertThat(properties.enabled).isEqualTo(false)
assertThat(properties.camundaContextPath).isEqualTo("/camunda")
assertThat(properties.createIfAbsent).isEqualTo(false)
assertThat(properties.randomPassword).isEqualTo(true)
}
}

0 comments on commit 25d1b43

Please sign in to comment.