StruckCroissant / Game-DB

Game-DB is a game database search engine deployed on Docker and powered by Java Spring Boot and AngularJS
GNU General Public License v3.0
2 stars 0 forks source link

Prevent Tests from Accessing Normal DB #74

Open StruckCroissant opened 5 months ago

StruckCroissant commented 5 months ago

Describe the bug Tests appear to be able to connect to the normal database, this shouldn't be possible. See this workflow for a log of a failing test caused by an attempt to connect to a database.

To Reproduce Steps to reproduce the behavior:

  1. Remove the TestPropertySource & ContextConfiguration annotations on the ApplicationExceptionHandlerTest
  2. Run the testing suite and make sure the DB isn't running