Skip to content

Commit

Permalink
Add cb secret to test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
zechmeister committed Oct 25, 2024
1 parent c89b919 commit 4aaa1ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ tasks {
useJUnitPlatform {
includeTags("integration")
}
systemProperty("spring.profiles.active", "test")

// So that running integration test require running unit tests first,
// and we won"t even attempt running integration tests when there are
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.bund.digitalservice.a2j;
package de.bund.digitalservice.a2j.integration;

import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
Expand Down
8 changes: 8 additions & 0 deletions src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
submission:
destination: d0fe1fad-erf3-4c67-123i-9d0ca6663bf3
serviceType:
urn: urn:de:fim:leika:leistung:99400048079112
name: Simple Dummy Service
jsonUri: https://schema.fitko.de/fim/s170007g_1.0.schema.json

callbackSecret: s3cr3t

0 comments on commit 4aaa1ed

Please sign in to comment.