Revision f6191560
Von Jan Büren vor etwa 3 Jahren hinzugefügt
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
PayPostingImport: Testfall zu d32410ac096b angepasst