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

(-)a/t/Barcodes_PrinterConfig.t (-2 / +9 lines)
Lines 6-14 Link Here
6
use strict;
6
use strict;
7
use warnings;
7
use warnings;
8
8
9
use Test::More tests => 1;
9
use Test::More tests => 6;
10
10
11
BEGIN {
11
BEGIN {
12
        use_ok('C4::Barcodes::PrinterConfig');
12
        use_ok('C4::Barcodes::PrinterConfig');
13
}
13
}
14
14
15
- 
15
is(C4::Barcodes::PrinterConfig::setPositionsForY(), "0", "testing setPositionsForY returns'0' when given no arguments");
16
is(C4::Barcodes::PrinterConfig::setPositionsForX(), "0", "testing setPositionsForX returns'0' when given no arguments");
17
18
is(C4::Barcodes::PrinterConfig::setPositionsForY(undef, undef, 5), "5", "testing setPositionsForY returns'5' when given (undef, undef, 5)");
19
is(C4::Barcodes::PrinterConfig::setPositionsForX(undef, undef, 5), "5", "testing setPositionsForX returns'5' when given (undef, undef, 5)");
20
21
22
is(C4::Barcodes::PrinterConfig::labelsPage(), "0", "testing labelsPage returns'0' when given no arguments");

Return to bug 5327