Pokaż
Ignoruj:
Data:
2009-12-23 11:26:06 (16 years ago)
Autor:
marek
Opis:

re #215 - dodanie nowego projektu z lepsza nazwa i typem projektu

Pliki:
1 zmodyfikowane

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; 
     1using adMoto.Payments.Core; 
     2using adMoto.Payments.Core.Data; 
     3using NUnit.Framework; 
    34 
    45namespace Platnosci.Tests.Web 
     
    1415        { 
    1516            var fake = new FakeDataContext(); 
    16             var vPlatnosciEcardRepository = new Repository<vPlatnosciEcard>(fake); 
     17            var vPlatnosciEcardRepository = new Repository<Invoice>(fake); 
    1718 
    1819            var platnosc = _function.CreateInvoice(123, "nip", "", 0, 0); 
    1920            vPlatnosciEcardRepository.Insert(platnosc); 
    2021 
    21             System.Diagnostics.Debug.WriteLine("rep.Count: " + vPlatnosciEcardRepository.Count());             
     22            System.Diagnostics.Debug.WriteLine("rep.Count: " + vPlatnosciEcardRepository.Count()); 
    2223            var pl = vPlatnosciEcardRepository.FindOne(123); 
    2324            System.Diagnostics.Debug.WriteLine("Wartosc nip ma byc 'nip'. Jest " + pl.nip); 
    2425            Assert.That(pl.nip, Is.EqualTo("nip")); 
    25         }         
    26  
     26        } 
    2727    } 
    2828}