my ($customer, $status, $type, $r_spec, @items);
sub init {
- $customer = SL::DB::Customer->new(name => 'Test Customer')->save;
+ $customer = SL::DB::Customer->new(name => 'Test Customer', currency_id => $::instance_conf->get_currency_id)->save;
$status = SL::DB::Manager::RequirementSpecStatus->find_by(name => '', description => '') ||
SL::DB::RequirementSpecStatus->new(name => '', description => '', position => 0)->save;
$type = SL::DB::Manager::RequirementSpecType->find_by(description => '') ||