Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f6191560

Von Jan Büren vor fast 3 Jahren hinzugefügt

  • ID f6191560e6db010cd9bf8b0854174d772b49b5c2
  • Vorgänger a1e15441
  • Nachfolger 6ebb31d0

PayPostingImport: Testfall zu d32410ac096b angepasst

Unterschiede anzeigen:

t/pay_posting_import/datev_import.t
73 73

  
74 74
  # gl
75 75
  is ($current_row->[13], $booking->reference, "Buchungstext correct");
76
  is ("Wisavis", $booking->department->description, "Department correctly assigned");
76
  if (ref $booking->department eq 'SL::DB::Department') {
77
    is ($current_row->[36], 'wisavis', "Department correctly assigned");                # lowercase
78
    is ('Wisavis', $booking->department->description, "Department correctly assigned"); # upper case
79
  } else {
80
    is ($current_row->[36], '', "No Department correctly assigned");
81

  
82
  }
77 83
  is ($source, $booking->transactions->[0]->source, "Source 0 correctly assigned");
78 84
  is ($source, $booking->transactions->[1]->source, "Source 1 correctly assigned");
79 85

  

Auch abrufbar als: Unified diff