OK, thanks. I succeeded by putting the code in the datasource configuration as explained in https://www.baeldung.com/spring-testing-separate-data-source#using-spring-profiles.
Thansk again Evgenij! Le jeudi 13 janvier 2022 à 14 h 34 min 01 s UTC-5, Pierre Caron a écrit : > Thanks a lot Evgenij for the tip. > > However, sorry for not understanding. I tried those two lines : > > > - in my application-test.properties > - concetenated at the end of the url > > > and neither one did work. > > What am I missing? > > Thanks. > > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/a80a98fa-f412-477b-91cf-7de8fb3ac44fn%40googlegroups.com.
