Skip to content

Commit

Permalink
feat(impl):[#259] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-ext-kmassalski committed Dec 15, 2023
1 parent 4896a53 commit 5a7a9a7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 5 additions & 3 deletions irs-api/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ irs:
ttl:
failed: PT1H
completed: PT1H
security:
api:
keys:
admin: 01234567890123456789
regular: 09876543210987654321

spring:
security:
oauth2:
resourceserver:
jwt:
jwk-set-uri: https://localhost
client:
provider:
common:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
properties = { "digitalTwinRegistry.type=central" })
@ActiveProfiles(profiles = "test")
@ActiveProfiles(profiles = { "test", "local" })
@Import(TestConfig.class)
@ExtendWith({ MockitoExtension.class,
SpringExtension.class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK,
properties = "irs-edc-client.discoveryFinderClient.cacheTTL=PT0.1S")
@ActiveProfiles(profiles = "test")
@ActiveProfiles(profiles = { "test", "local" })
@Import({ TestConfig.class })
class DiscoveryFinderClientTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
@Import(TestConfig.class)
@ActiveProfiles(profiles = { "test" })
@ActiveProfiles(profiles = { "test", "local" })
class SemanticHubCacheInitializerTests {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
properties = { "digitalTwinRegistry.type=central" })
@ActiveProfiles(profiles = { "test",
"stubtest"
})
@ActiveProfiles(profiles = { "test", "stubtest", "local" })
@Import(TestConfig.class)
class IrsItemGraphQueryServiceSpringBootTest {

Expand Down

0 comments on commit 5a7a9a7

Please sign in to comment.