Parcourir la source

error in test is corrected

yauhenip il y a 8 ans
Parent
révision
f192eb39ef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/test/java/com/zipcoder/payment/PaymentPresenterTest.java

+ 1
- 1
src/test/java/com/zipcoder/payment/PaymentPresenterTest.java Voir le fichier

56
         payments[1] = check;
56
         payments[1] = check;
57
 
57
 
58
         PaymentPresenter presenter = new PaymentPresenter();
58
         PaymentPresenter presenter = new PaymentPresenter();
59
-        String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
59
+        String expected = "Check Tia Mowry ***4551\nPaypal Tamara Mowry tamara@mowry.com\n";
60
 
60
 
61
         String actual = presenter.toStringById(payments);
61
         String actual = presenter.toStringById(payments);
62
         assertEquals(expected, actual);
62
         assertEquals(expected, actual);