|
Lines 1-11
Link Here
|
| 1 |
#!/usr/bin/perl |
1 |
#!/usr/bin/perl |
|
|
2 |
|
| 3 |
# This file is part of Koha. |
| 4 |
# |
| 5 |
# Koha is free software; you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 3 of the License, or |
| 8 |
# (at your option) any later version. |
| 2 |
# |
9 |
# |
| 3 |
# This Koha test module is a stub! |
10 |
# Koha is distributed in the hope that it will be useful, but |
| 4 |
# Add more tests here!!! |
11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 5 |
|
17 |
|
| 6 |
use Modern::Perl; |
18 |
use Modern::Perl; |
| 7 |
|
19 |
|
| 8 |
use Test::More tests => 15; |
20 |
use Test::More tests => 16; |
| 9 |
|
21 |
|
| 10 |
use C4::Context; |
22 |
use C4::Context; |
| 11 |
|
23 |
|
|
Lines 98-103
ok(
Link Here
|
| 98 |
'attempting to run a report with an SQL syntax error returns error message (Bug 12214)' |
110 |
'attempting to run a report with an SQL syntax error returns error message (Bug 12214)' |
| 99 |
); |
111 |
); |
| 100 |
|
112 |
|
|
|
113 |
is_deeply( get_report_areas(), [ 'CIRC', 'CAT', 'PAT', 'ACQ', 'ACC' ], |
| 114 |
"get_report_areas returns the correct array of report areas"); |
| 115 |
|
| 101 |
#End transaction |
116 |
#End transaction |
| 102 |
$dbh->rollback; |
117 |
$dbh->rollback; |
| 103 |
|
118 |
|
| 104 |
- |
|
|