Refactor unit tests to remove the database (mock)

5 jobs for develop in 2 minutes and 32 seconds (queued for 5 seconds)
Status Name Job ID Coverage
  Install Dependencies
passed install_dependencies #39375

00:00:56

 
  Test
passed test #39376

00:00:20

88.79%
 
  Sonar
passed sonar_scanner #39377

00:00:34

 
  Dockerize
passed dockerize #39378

00:00:28

 
  Deploy
passed deploy #39379

00:00:12