|
|
|
@ -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; |
|
|
|
|