Zbiór zmian 970 dla trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs
- Data:
- 2009-12-23 11:26:06 (16 years ago)
- Pliki:
-
- 1 zmodyfikowane
-
trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs
r969 r970 1 using NUnit.Framework; 2 using Platnosci.Core.Linq; 1 using adMoto.Payments.Core; 2 using adMoto.Payments.Core.Data; 3 using NUnit.Framework; 3 4 4 5 namespace Platnosci.Tests.Web … … 14 15 { 15 16 var fake = new FakeDataContext(); 16 var vPlatnosciEcardRepository = new Repository< vPlatnosciEcard>(fake);17 var vPlatnosciEcardRepository = new Repository<Invoice>(fake); 17 18 18 19 var platnosc = _function.CreateInvoice(123, "nip", "", 0, 0); 19 20 vPlatnosciEcardRepository.Insert(platnosc); 20 21 21 System.Diagnostics.Debug.WriteLine("rep.Count: " + vPlatnosciEcardRepository.Count()); 22 System.Diagnostics.Debug.WriteLine("rep.Count: " + vPlatnosciEcardRepository.Count()); 22 23 var pl = vPlatnosciEcardRepository.FindOne(123); 23 24 System.Diagnostics.Debug.WriteLine("Wartosc nip ma byc 'nip'. Jest " + pl.nip); 24 25 Assert.That(pl.nip, Is.EqualTo("nip")); 25 } 26 26 } 27 27 } 28 28 }
