marcinadd / projecty-web

Project management software based on spring
GNU General Public License v3.0
74 stars 74 forks source link

Fixes #28; Fixed broken tests and h2 errors #30

Closed allanmoso closed 4 years ago

allanmoso commented 4 years ago

These tests that are previously commented out seem to be passing now. It's possibly subsequent changes have fixed the failing tests.

marcinadd commented 4 years ago

All these tests passed previously when I run them locally but unfortunately with GitHub CI they are failing.

allanmoso commented 4 years ago

@marcinadd It looks like tests are passing now.

I think the issue was related to this: https://github.com/spring-projects/spring-boot/issues/6541

I just specified the name of the beans as an attribute on @MockBean.

Also, I fixed some errors on h2 during C1 by specifying DB_CLOSE_ON_EXIST=false