Bug 22824: Adjust tests to match final behaviours

Finally we diverge quite a lot with how it worked prior to this patch
set. Reflect the changes in the tests

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-02-11 14:27:56 +01:00
parent f92cae1381
commit 84410a1125
2 changed files with 4 additions and 4 deletions

View File

@ -23,6 +23,6 @@ Test:
- "List of fields"
- pref: syspref_4
choices:
020: 020
"16" : "16"
"020": "020"
"123": "123"

View File

@ -23,8 +23,8 @@ is_deeply(
"Do it",
{
choices => {
1 => "certainly",
'' => "I don't think so"
on => "certainly",
off => "I don't think so"
},
pref => "syspref_1"
}
@ -50,7 +50,7 @@ is_deeply(
"We love unicode",
{
choices => {
'' => "Not really",
no => "Not really",
'★' => "❤️"
},
pref => "syspref_3"