Revision d7d5ec6c
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
t/db_helper/acts_as_list.t | ||
---|---|---|
27 | 27 |
my ($customer, $status, $type, $r_spec, @items); |
28 | 28 |
|
29 | 29 |
sub init { |
30 |
$customer = SL::DB::Customer->new(name => 'Test Customer')->save; |
|
30 |
$customer = SL::DB::Customer->new(name => 'Test Customer', currency_id => $::instance_conf->get_currency_id)->save;
|
|
31 | 31 |
$status = SL::DB::Manager::RequirementSpecStatus->find_by(name => '', description => '') || |
32 | 32 |
SL::DB::RequirementSpecStatus->new(name => '', description => '', position => 0)->save; |
33 | 33 |
$type = SL::DB::Manager::RequirementSpecType->find_by(description => '') || |
Auch abrufbar als: Unified diff
Test: acts_as_list.t: Anpassung an Währungsumstellung