Revert "Bug 19392: Clean-up behind auth_values_input_www.t"
authorMason James <mtj@kohaaloha.com>
Wed, 22 Nov 2017 13:12:05 +0000 (02:12 +1300)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Nov 2017 13:12:05 +0000 (02:12 +1300)
This reverts commit dfc44a560f5ce473559c2d65068e0334b15c03d1.

t/db_dependent/www/auth_values_input_www.t

index 7f8e943..bcb441d 100644 (file)
@@ -28,8 +28,6 @@ use POSIX;
 use URI::Escape;
 use Encode;
 
-use Koha::AuthorisedValueCategories;
-
 my $testdir = File::Spec->rel2abs( dirname(__FILE__) );
 
 my $koha_conf = $ENV{KOHA_CONF};
@@ -120,8 +118,6 @@ if ($id_to_del) {
     ok($id_to_del ne undef, "error, link to delete not working");
 }
 
-Koha::AuthorisedValueCategories->find($category)->delete; # Clean up
-
 #---------------------------------------- Test with only latin utf-8 (could be taken as Latin-1/ISO 8859-1)
 
 $category = 'tòmas';
@@ -175,6 +171,4 @@ if ($id_to_del2) {
     ok($id_to_del2 ne undef, "error, link to delete not working");
 }
 
-Koha::AuthorisedValueCategories->find($category)->delete; # Clean up
-
 1;