From bc43b2f2ff7335c2b40609f232c3335216dc8707 Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Fri, 12 Mar 2021 10:25:19 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20tests=20unitaires?= =?UTF-8?q?=20en=20fonction=20du=20filtre=20sur=20les=20statuts=20de=20l'E?= =?UTF-8?q?P?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EPAServeur.Tests/Services/DemandeFormationServiceTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EPAServeur.Tests/Services/DemandeFormationServiceTests.cs b/EPAServeur.Tests/Services/DemandeFormationServiceTests.cs index 576b1ca..eac801e 100644 --- a/EPAServeur.Tests/Services/DemandeFormationServiceTests.cs +++ b/EPAServeur.Tests/Services/DemandeFormationServiceTests.cs @@ -63,7 +63,7 @@ namespace EPAServeur.Tests.Services [TestCase(new EtatDemande[] { EtatDemande.EnAttente, EtatDemande.Validee, EtatDemande.Rejetee }, new long[] { 1, 2 }, true, 1, 20, "gaillard", null, null, null)] [TestCase(new EtatDemande[] { EtatDemande.EnAttente, EtatDemande.Validee, EtatDemande.Rejetee }, new long[] { 1 }, false, 1, 5, "gaillard", null, null, null)] - [TestCase(null, null, null, 2, 10, null, null, null, null)] + [TestCase(null, null, null, 2, 5, null, null, null, null)] [TestCase(null, new long[] { 1 }, null, 1, 10, null, null, null, null)] [TestCase(new EtatDemande[] { EtatDemande.Rejetee }, null, null, 1, 10, "gai", null, null, null)] [TestCase(new EtatDemande[] { EtatDemande.EnAttente, EtatDemande.Validee, EtatDemande.Rejetee }, new long[] { }, null, 1, 50, "gai", null, null, null)] @@ -121,10 +121,10 @@ namespace EPAServeur.Tests.Services nbDemandeFormationDeuxiemePage = 5; break; case 6: - nbDemandeFormationDeuxiemePage = 6; + nbDemandeFormationDeuxiemePage = 4; break; case 10: - nbDemandeFormationDeuxiemePage = 2; + nbDemandeFormationDeuxiemePage = 0; break; default: nbDemandeFormationDeuxiemePage = 0;