Testwarnung: doppeltes »my $ap_chart« vermeiden
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 10 Feb 2017 14:38:37 +0000 (15:38 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 10 Feb 2017 14:38:37 +0000 (15:38 +0100)
t/controllers/project/project_linked_records.t

index 101fc1c..7f7a081 100644 (file)
@@ -164,7 +164,7 @@ $ap_transaction2->add_ap_amount_row(
     tax_id     => $tax_9->id,
     project_id => $project->id,
 );
-my $ap_chart = SL::DB::Manager::Chart->find_by( accno => '1600' ); # Verbindlichkeiten
+$ap_chart = SL::DB::Manager::Chart->find_by( accno => '1600' ); # Verbindlichkeiten
 $ap_transaction2->create_ap_row(chart => $ap_chart);
 $ap_transaction2->save;