File tree Expand file tree Collapse file tree
test/java/br/com/developers/controller/github Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 <dependency >
2525 <groupId >com.h2database</groupId >
2626 <artifactId >h2</artifactId >
27+ <scope >runtime</scope >
2728 </dependency >
2829 <dependency >
2930 <groupId >org.mockito</groupId >
Original file line number Diff line number Diff line change 11spring.profiles.active =@activatedProperties@
22
33spring.datasource.url =jdbc:postgresql://localhost/github_developers
4- spring.database.driverClassName =org.postgresql.Driver
4+ spring.datasource.driver-class-name =org.postgresql.Driver
55spring.datasource.platform =postgres
66spring.datasource.username =postgres
77spring.datasource.password =postgres
Original file line number Diff line number Diff line change 11spring.profiles.active =@activatedProperties@
22
33spring.datasource.driver-class-name =org.h2.Driver
4- spring.datasource.url =jdbc:h2:mem:db
4+ spring.datasource.url =jdbc:h2:mem:db; DB_CLOSE_DELAY=-1
55spring.datasource.username =test
66spring.datasource.password =test
7-
8- security.app.jwtSecret =XueeCy61NOddroAgE5gZn7wS
9- security.app.jwtExpiration =43200000
7+ spring.jpa.database-platform =org.hibernate.dialect.H2Dialect
Original file line number Diff line number Diff line change 11spring.profiles.active =@activatedProperties@
22
33spring.datasource.url =jdbc:postgresql://172.17.0.2/github_developers
4- spring.database.driverClassName =org.postgresql.Driver
4+ spring.datasource.driver-class-name =org.postgresql.Driver
55spring.datasource.platform =postgres
66spring.datasource.username =postgres
77spring.datasource.password =postgres
Original file line number Diff line number Diff line change 99import org .springframework .beans .factory .annotation .Autowired ;
1010import org .springframework .boot .test .context .SpringBootTest ;
1111import org .springframework .http .MediaType ;
12- import org .springframework .test .context .ActiveProfiles ;
1312import org .springframework .test .web .servlet .MockMvc ;
1413import org .springframework .test .web .servlet .setup .MockMvcBuilders ;
1514import org .springframework .web .context .WebApplicationContext ;
1615
1716@ SpringBootTest
18- @ ActiveProfiles ("staging" )
1917class GithubControllerIntegrationTests {
2018
2119 private static final String QUALIFIER_USER = "muriloalvesdev" ;
You can’t perform that action at this time.
0 commit comments