Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #configuration for main data source
- spring.jpa.generate-ddl=true
- spring.jpa.hibernate.ddl-auto=update
- hibernate.ddl-auto=update
- spring.datasource.driver-class-name=org.h2.Driver
- spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1
- spring.datasource.username=sa
- spring.datasource.password=sa
- @SpringBootTest
- @ActiveProfiles("test")
- public class CredentialDaoTest {
- @Autowired
- CredentialRepo repo;
- @Test
- public void test() {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement