Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #configuration for main data source
  2. spring.jpa.generate-ddl=true
  3. spring.jpa.hibernate.ddl-auto=update
  4. hibernate.ddl-auto=update
  5. spring.datasource.driver-class-name=org.h2.Driver
  6. spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1
  7. spring.datasource.username=sa
  8. spring.datasource.password=sa
  9.  
  10. @SpringBootTest
  11. @ActiveProfiles("test")
  12. public class CredentialDaoTest {
  13.  
  14. @Autowired
  15. CredentialRepo repo;
  16.  
  17. @Test
  18. public void test() {
  19.  
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement