View | Details | Raw Unified | Return to bug 40277
Collapse All | Expand All

(-)a/t/db_dependent/Koha.t (-2 / +5 lines)
Lines 11-16 use Test::Warn; Link Here
11
use Test::Deep;
11
use Test::Deep;
12
12
13
use t::lib::TestBuilder;
13
use t::lib::TestBuilder;
14
use t::lib::Mocks;
14
15
15
use C4::Context;
16
use C4::Context;
16
use Koha::Database;
17
use Koha::Database;
Lines 33-39 my $dbh = C4::Context->dbh; Link Here
33
our $itype_1 = $builder->build( { source => 'Itemtype' } );
34
our $itype_1 = $builder->build( { source => 'Itemtype' } );
34
35
35
subtest 'Authorized Values Tests' => sub {
36
subtest 'Authorized Values Tests' => sub {
36
    plan tests => 4;
37
    plan tests => 5;
37
38
38
    my $data = {
39
    my $data = {
39
        category         => 'CATEGORY',
40
        category         => 'CATEGORY',
Lines 166-171 subtest 'Authorized Values Tests' => sub { Link Here
166
167
167
    warning_is { GetAuthorisedValues() } [], 'No warning when no parameter passed to GetAuthorisedValues';
168
    warning_is { GetAuthorisedValues() } [], 'No warning when no parameter passed to GetAuthorisedValues';
168
169
170
    C4::Context->set_userenv();
171
    warning_is { GetAuthorisedValues("BUG10656") } [], 'No warning when userenv is anonymous';
172
169
};
173
};
170
174
171
subtest 'isbn tests' => sub {
175
subtest 'isbn tests' => sub {
172
- 

Return to bug 40277