Lines 38-44
my $builder = t::lib::TestBuilder->new;
Link Here
|
38 |
|
38 |
|
39 |
subtest 'all() tests' => sub { |
39 |
subtest 'all() tests' => sub { |
40 |
|
40 |
|
41 |
plan tests => 18; |
41 |
plan tests => 19; |
42 |
|
42 |
|
43 |
$schema->storage->txn_begin; |
43 |
$schema->storage->txn_begin; |
44 |
|
44 |
|
Lines 68-73
subtest 'all() tests' => sub {
Link Here
|
68 |
$name = $plugin->GetName(undef); |
68 |
$name = $plugin->GetName(undef); |
69 |
is($name, '', 'received empty string as name of NULL/undefined library code'); |
69 |
is($name, '', 'received empty string as name of NULL/undefined library code'); |
70 |
|
70 |
|
|
|
71 |
$name = $plugin->GetName(q{}); |
72 |
is($name, '', 'received empty string as name of empty string library code'); |
73 |
|
71 |
is($plugin->GetLoggedInBranchcode(), '', 'no active library code if there is no active user session'); |
74 |
is($plugin->GetLoggedInBranchcode(), '', 'no active library code if there is no active user session'); |
72 |
is($plugin->GetLoggedInBranchname(), '', 'no active library name if there is no active user session'); |
75 |
is($plugin->GetLoggedInBranchname(), '', 'no active library name if there is no active user session'); |
73 |
|
76 |
|
74 |
- |
|
|