Skip to content
Snippets Groups Projects
Commit 8e9d57d0 authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files

fix unit tests

parent 9995ac80
No related branches found
No related tags found
No related merge requests found
Pipeline #61786 passed
......@@ -150,7 +150,7 @@ class UserMetricTest extends TestCase
$violationRepo->findBy(Argument::cetera())->shouldBeCalled()->willReturn([]);
$this->requestRepository->findAllByCollectivity(Argument::cetera())->shouldBeCalled()->willReturn([]);
$collectivity->setHasModuleConformiteTraitement(true);
$this->conformiteTraitementRepository->findAllByCollectivity(Argument::cetera())->shouldBeCalled()->willReturn([]);
$this->conformiteTraitementRepository->findActiveByCollectivity(Argument::cetera())->shouldBeCalled()->willReturn([]);
$this->evaluationRepository->findLastByOrganisation(Argument::any())->shouldBeCalled()->willReturn(null);
$this->logJournalRepository->findAllByCollectivityWithoutSubjects($collectivity, 15, Argument::any())->shouldBeCalled()->willReturn([]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment