Bug 12844: Force the symbol place in the tests
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 10 Oct 2014 20:47:32 +0000 (22:47 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 27 Oct 2014 15:56:30 +0000 (12:56 -0300)
commitac4544ea472c7bf00894ff6d86317ccb046bc420
tree26c6b2e2dc48e131c228315b6f12c249dd038d28
parent55587f5c346a7b7b8f35e05d88c2112f1de46a9a
Bug 12844: Force the symbol place in the tests

Looking with Katrin at the default configuration of Number::Format, she
has the p_cs_precedes value set to 0 (put the symbol at the end) and
p_sep_by_sep set to 1.

Now it is possible to sent these values to the format subroutine.
On this way, the tests can force them in order to pass on all configuration.

This default value for this variable certainly depends on the locales.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/Number/Price.pm
t/Number/Price.t