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

(-)a/t/db_dependent/Letters.t (-1 / +1 lines)
Lines 184-189 is( $letters->[0]->{name}, 'my name', 'GetLetters gets the name correctly' ); Link Here
184
# getletter
184
# getletter
185
subtest 'getletter' => sub {
185
subtest 'getletter' => sub {
186
    plan tests => 16;
186
    plan tests => 16;
187
    t::lib::Mocks::mock_preference('IndependentBranches', 0);
187
    my $letter = C4::Letters::getletter('my module', 'my code', $library->{branchcode}, 'email');
188
    my $letter = C4::Letters::getletter('my module', 'my code', $library->{branchcode}, 'email');
188
    is( $letter->{branchcode}, $library->{branchcode}, 'GetLetters gets the branch code correctly' );
189
    is( $letter->{branchcode}, $library->{branchcode}, 'GetLetters gets the branch code correctly' );
189
    is( $letter->{module}, 'my module', 'GetLetters gets the module correctly' );
190
    is( $letter->{module}, 'my module', 'GetLetters gets the module correctly' );
190
- 

Return to bug 19042