Lines 3-17
Link Here
|
3 |
# This Koha test module is a stub! |
3 |
# This Koha test module is a stub! |
4 |
# Add more tests here!!! |
4 |
# Add more tests here!!! |
5 |
|
5 |
|
6 |
use strict; |
6 |
use Modern::Perl; |
7 |
use warnings; |
|
|
8 |
|
7 |
|
|
|
8 |
use t::lib::Mocks; |
9 |
use Test::More tests => 4; |
9 |
use Test::More tests => 4; |
10 |
|
10 |
|
11 |
BEGIN { |
11 |
BEGIN { |
12 |
use_ok('C4::Ris'); |
12 |
use_ok('C4::Ris'); |
13 |
} |
13 |
} |
14 |
|
14 |
t::lib::Mocks::mock_preference('marcflavour', 'MARC21'); |
15 |
is(C4::Ris::print_typetag(),undef,'test printing typetag'); |
15 |
is(C4::Ris::print_typetag(),undef,'test printing typetag'); |
16 |
|
16 |
|
17 |
is(C4::Ris::print_title(),undef, 'test printing title when print_title is nil'); |
17 |
is(C4::Ris::print_title(),undef, 'test printing title when print_title is nil'); |
18 |
- |
|
|