SHARE
TWEET

Untitled

a guest Jun 18th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top