From 19d62411e77edfa7a6f40645a3a20d9e1300b468 Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 14 Nov 2017 03:38:19 +1300 Subject: [PATCH] Revert "Bug 14637: Fix add patron category under MySQL 5.7 - tests" This reverts commit f75437546fcfbbd931e9577dc428f9c52ed13beb. --- t/db_dependent/Koha/Patron/Categories.t | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/t/db_dependent/Koha/Patron/Categories.t b/t/db_dependent/Koha/Patron/Categories.t index 48f9ea0fa1..974b982559 100644 --- a/t/db_dependent/Koha/Patron/Categories.t +++ b/t/db_dependent/Koha/Patron/Categories.t @@ -52,16 +52,6 @@ is_deeply( $retrieved_category_1->default_messaging, [], 'By default there is no $retrieved_category_1->delete; is( Koha::Patron::Categories->search->count, $nb_of_categories + 1, 'Delete should have deleted the patron category' ); -my $new_category_4 = Koha::Patron::Category->new( - { categorycode => 'mycatcodeW', - category_type => 'A', - description => 'mycatdescW', - upperagelimit => '', - dateofbirthrequired => '', - } -)->store; -is( Koha::Patron::Categories->search->count, $nb_of_categories + 2, 'upperagelimit and dateofbirthrequired should have a default value if empty string is passed' ); - $schema->storage->txn_rollback; 1; -- 2.39.5