Correction bug tests unitaire
continuous-integration/drone/push Build is passing Details

pull/15/head
Yoan 2 years ago
parent 2608b25088
commit 3b001a373a

@ -252,7 +252,7 @@ namespace TestProject1
serializer.SetBateau(listeBateau);
string xmlFilePath = Path.Combine(serializer.Chemin, "bateaux.xml");
string xmlFilePath = Path.Combine(serializer.Chemin, "bateau.xml");
Assert.True(File.Exists(xmlFilePath));
using (Stream stream = File.OpenRead(xmlFilePath))
@ -277,7 +277,7 @@ namespace TestProject1
obj1,
obj2,
};
string xmlFilePath = Path.Combine(serializer.Chemin, "bateaux.xml");
string xmlFilePath = Path.Combine(serializer.Chemin, "bateau.xml");
using (Stream stream = File.Create(xmlFilePath))
{
var xmlSerializer = new DataContractSerializer(typeof(List<Bateau>));
@ -305,7 +305,7 @@ namespace TestProject1
serializer.SetIle(listeIle);
string xmlFilePath = Path.Combine(serializer.Chemin, "iles.xml");
string xmlFilePath = Path.Combine(serializer.Chemin, "ile.xml");
Assert.True(File.Exists(xmlFilePath));
using (Stream stream = File.OpenRead(xmlFilePath))
@ -330,7 +330,7 @@ namespace TestProject1
obj1,
obj2,
};
string xmlFilePath = Path.Combine(serializer.Chemin, "iles.xml");
string xmlFilePath = Path.Combine(serializer.Chemin, "ile.xml");
using (Stream stream = File.Create(xmlFilePath))
{
var xmlSerializer = new DataContractSerializer(typeof(List<Ile>));

Loading…
Cancel
Save