Koha/t/db_dependent/00-strict.t
Katrin Fischer 377c9f1589 Bug 19178: Remove outdated sms/* scripts and related files
Those files appear unmaintained and unusable with current
Koha and should be removed.

It appears at some point there was work done on a feature
to send SMS messages to a phone number using a form in
the tools area.
This has never been documented, files and git history
make it look like work remained unfinished.

sms/sms_listen_windows_start.pl
- targetted for Windows, which is not supported by Koha

00-strict.t
- reference to sms removed

sms/sms_listen.pl
- refers to a table sms_messages that doesn't exist
- uses getmember() that doesn't exist

sms/sms.pl
- script calls routines that no longer exist in SMS.pm
  error_codes(), parse_phone(), write_sms()
- template sms-home.tt is not accessible form anywhere
  in the templates

sms-home.tt
- see sms/sms.pl

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Makes sense. 00-strict.t runs OK after applying the patch.

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-27 14:10:29 -03:00

24 lines
885 B
Perl

# This script is called by the pre-commit git hook to test modules compile
use strict;
use warnings;
use Test::More;
use Test::Strict;
use File::Spec;
use File::Find;
use lib("misc/translator");
use lib("installer");
my @dirs = ( 'acqui', 'admin', 'authorities', 'basket',
'catalogue', 'cataloguing', 'changelanguage.pl', 'circ', 'debian', 'docs',
'edithelp.pl', 'errors', 'fix-perl-path.PL', 'help.pl', 'installer',
'koha_perl_deps.pl', 'kohaversion.pl', 'labels',
'mainpage.pl', 'Makefile.PL', 'members', 'misc', 'offline_circ', 'opac',
'patroncards', 'reports', 'reserve', 'reviews',
'rewrite-config.PL', 'rotating_collections', 'serials', 'services', 'skel',
'suggestion', 'svc', 'tags', 'tools', 'virtualshelves' );
$Test::Strict::TEST_STRICT = 0;
$Test::Strict::TEST_SKIP = [ 'misc/kohalib.pl', 'misc/plack/koha.psgi' ];
all_perl_files_ok(@dirs);