Bug 18420: Replace hardcoded EUR in OrderUsers.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2017-04-13 09:02:55 +02:00 committed by Kyle M Hall
parent acd91afd0c
commit eedb9d9233
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ my $library = $builder->build({
source => "Branch",
});
my $patron_category = $builder->build({ source => 'Category' });
my $currency = $builder->build({ source => 'Currency' });
# Creating some orders
my $bookseller = Koha::Acquisition::Bookseller->new(
@ -49,7 +50,7 @@ my $order = Koha::Acquisition::Order->new(
biblionumber => $biblionumber,
budget_id => $budgetid,
entrydate => '01-01-2014',
currency => 'EUR',
currency => $currency->{currency},
notes => "This is a note1",
orderstatus => 1,
quantityreceived => 0,