Bug 20466

Summary: Incorrect fixtures for active currency in t/Prices.t
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, nick
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 4078, 15323    
Bug Blocks:    
Attachments: Bug 20466: Fix fixture syntax in t/Prices.t

Description Jonathan Druart 2018-03-23 16:07:18 UTC
Found by jenkins on https://jenkins.koha-community.org/job/Koha_Master_D8/401/console

#   Failed test 'No tests run for subtest "Configuration 1: 0 0"'
#   at t/Prices.t line 152.
Can't call method "p_sep_by_space" on an undefined value at /home/vagrant/kohaclone/Koha/Number/Price.pm line 126.
Comment 1 Jonathan Druart 2018-03-23 16:08:05 UTC
Exists since bug 15323 but highlighted by bug 4078 recently pushed.
Comment 2 Jonathan Druart 2018-03-23 16:13:33 UTC
Created attachment 73195 [details] [review]
Bug 20466: Fix fixture syntax in t/Prices.t
Comment 3 Jonathan Druart 2018-03-23 16:25:55 UTC
Pushed to master for 18.05 as a follow-up of bug 4078

Can be considered for stable branches.
Comment 4 Nick Clemens (kidclamp) 2018-03-26 12:39:39 UTC
Awesome work all, backported to stable for 17.11.04
Comment 5 Fridolin Somers 2018-03-27 11:53:28 UTC
Pushed to 17.05.x for v17.05.10