Correction mineure 2

This commit is contained in:
Erwann PHILIPPE 2026-03-30 10:28:25 +02:00
parent 5afea1807a
commit c8500cb7d4
2 changed files with 2 additions and 3 deletions

View file

@ -1,11 +1,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System;
using System.Windows.Forms; using System.Windows.Forms;
using MediaTekDocuments.model; using MediaTekDocuments.model;
using MediaTekDocuments.controller; using MediaTekDocuments.controller;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;

View file

@ -11,7 +11,8 @@ namespace Mediatek.Tests
[TestMethod] [TestMethod]
public void TestParutionDansAbonnement_ValidationDates() public void TestParutionDansAbonnement_ValidationDates()
{ {
FrmMediatek frm = new FrmMediatek(); Utilisateur user = new Utilisateur("1", "admin", "philippe", "erwann", 1, "administration");
FrmMediatek frm = new FrmMediatek(user);
DateTime debut = new DateTime(2024, 01, 01); DateTime debut = new DateTime(2024, 01, 01);
DateTime fin = new DateTime(2024, 12, 31); DateTime fin = new DateTime(2024, 12, 31);