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/MerchantControllerTests.cs

    r969 r970  
    1 using NUnit.Framework; 
    2 using Platnosci.Core.Linq; 
    3 using Platnosci.Core.Interface; 
     1using adMoto.Payments.Core; 
     2using adMoto.Payments.Core.Data; 
     3using adMoto.Payments.Core.Interfaces; 
     4using NUnit.Framework; 
    45using Platnosci.Controllers; 
    56using Platnosci.Models; 
     
    1920        { 
    2021            //Arrange 
    21             IRepository<vPlatnosciEcard> repVPayment = new Repository<vPlatnosciEcard>(new FakeDataContext()); 
    22             vPlatnosciEcard platnosc = _function.CreateInvoice(123, "nip1", "", 0, 0); 
     22            IRepository<Invoice> repVPayment = new Repository<Invoice>(new FakeDataContext()); 
     23            var platnosc = _function.CreateInvoice(123, "nip1", "", 0, 0); 
    2324            repVPayment.Insert(platnosc); 
    2425             
    25             Payer payer = _function.CreatePayer(123, "test", "test"); 
     26            var payer = _function.CreatePayer(123, "test", "test"); 
    2627             
    2728            var controller = new MerchantController(repVPayment, null, _translateManager); 
     
    4243        { 
    4344            //Arrange 
    44             IRepository<vPlatnosciEcard> repVPayment = new Repository<vPlatnosciEcard>(new FakeDataContext()); 
    45             vPlatnosciEcard platnosc = _function.CreateInvoice(12, "nip1", "", 0, 0); 
     45            IRepository<Invoice> repVPayment = new Repository<Invoice>(new FakeDataContext()); 
     46            var platnosc = _function.CreateInvoice(12, "nip1", "", 0, 0); 
    4647            repVPayment.Insert(platnosc); 
    4748 
    48             Payer payer = _function.CreatePayer(123, "test", "test"); 
     49            var payer = _function.CreatePayer(123, "test", "test"); 
    4950 
    5051            var controller = new MerchantController(repVPayment, null, _translateManager);