Skip to content

Commit

Permalink
H2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Dec 25, 2024
1 parent 5e6a16c commit b5de6f5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import java.util.function.Consumer
import java.util.stream.Collectors

@Component
@Profile("local", "demo")
@Profile("default","local", "demo")
class BridgeLogisticsInitializer(
private val bridgeRepository: BridgeRepository,
private val carriageRepository: CarriageRepository,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.jesperancinha.logistics.web

import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.ActiveProfiles

@ActiveProfiles("default")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
class BridgeLogisticsInitializerTest {

@Test
fun `should test context`(){

}

}

0 comments on commit b5de6f5

Please sign in to comment.