Pokaż
Ignoruj:
Data:
2009-12-28 15:17:15 (16 years ago)
Autor:
alina
Opis:

re #215 ujednolicenie nazw obiektow, modyfikacje dotyczace testow interfejsowych (dodanie tymczasowych rekowrdow do bazy na czas testowania )

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/eCard/eCardMVC/adMoto.Payments.Test/Controllers/MerchantControllerTests.cs

    r982 r984  
    2222            //Arrange 
    2323            IRepository<Invoice> repVPayment = new Repository<Invoice>(new FakeDataContext()); 
    24             var platnosc = _testDataHelper.CreateInvoice(123, "nip1", "", 0, 0); 
    25             repVPayment.Insert(platnosc); 
     24            var invoice = _testDataHelper.CreateInvoice(123, "nip1", "", 0, 0); 
     25            repVPayment.Insert(invoice); 
    2626             
    2727            var payer = _testDataHelper.CreatePayer(123, "test", "test"); 
     
    4545            //Arrange 
    4646            IRepository<Invoice> repVPayment = new Repository<Invoice>(new FakeDataContext()); 
    47             var platnosc = _testDataHelper.CreateInvoice(12, "nip1", "", 0, 0); 
    48             repVPayment.Insert(platnosc); 
     47            var invoice = _testDataHelper.CreateInvoice(12, "nip1", "", 0, 0); 
     48            repVPayment.Insert(invoice); 
    4949 
    5050            var payer = _testDataHelper.CreatePayer(123, "test", "test");