Bug 21683: (follow-up) Remove last occurences of statistics.proccode
authorJosef Moravec <josef.moravec@gmail.com>
Fri, 8 Mar 2019 06:22:08 +0000 (06:22 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 21 Mar 2019 18:19:23 +0000 (18:19 +0000)
columns.def is used to define descriptions of db columns in guided
reports

test is not useful anymore IMO

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/columns.def
t/db_dependent/Stats.t

index 21c74f2..7073360 100644 (file)
 <field name="items.copynumber">Copy number</field>
 <field name="statistics.datetime">Statistics date and time</field>
 <field name="statistics.branch">Library</field>
-<field name="statistics.proccode">Type of procedure</field>
 <field name="statistics.value">Value</field>
 <field name="statistics.type">Type</field>
 <field name="statistics.other"></field>
index 2c6cdbc..7e2e6f7 100644 (file)
@@ -4,7 +4,7 @@ use Modern::Perl;
 use C4::Stats;
 use Koha::Database;
 
-use Test::More tests => 19;
+use Test::More tests => 18;
 
 BEGIN {
     use_ok('C4::Stats');
@@ -119,7 +119,6 @@ is ($params->{other},          $line->{other},          "UpdateStats save other
 is ($params->{itemtype},       $line->{itemtype},       "UpdateStats save itemtype param in itemtype field of statistics table");
 is ($params->{location},       $line->{location},       "UpdateStats save location param in location field of statistics table");
 is ($params->{ccode},          $line->{ccode},          "UpdateStats save ccode param in ccode field of statistics table");
-is (undef,                     $line->{proccode},       "UpdateStats save no proccode param in proccode field of statistics table");
 
 $dbh->do(q|DELETE FROM statistics|);
 $params = {