From 80f989aca48e520730089920f69e5c73e19a5fa0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Feb 2021 14:27:56 +0100 Subject: [PATCH] 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 --- t/db_dependent/data/syspref.pref | 3 ++- t/db_dependent/yaml.t | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/t/db_dependent/data/syspref.pref b/t/db_dependent/data/syspref.pref index c5cee1efb6..052283addf 100644 --- a/t/db_dependent/data/syspref.pref +++ b/t/db_dependent/data/syspref.pref @@ -23,6 +23,7 @@ Test: - "List of fields" - pref: syspref_4 choices: - 020: 020 + "16" : "16" "020": "020" "123": "123" + diff --git a/t/db_dependent/yaml.t b/t/db_dependent/yaml.t index 661d5edae2..586c053ca0 100755 --- a/t/db_dependent/yaml.t +++ b/t/db_dependent/yaml.t @@ -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" -- 2.24.1 (Apple Git-126)