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

(-)a/t/db_dependent/Barcodes.t (-9 / +2 lines)
Lines 84-104 subtest 'Test generation of annual barcodes from DB values' => sub { Link Here
84
};
84
};
85
85
86
86
87
$schema->storage->txn_begin;
88
subtest 'Test generation of hbyymmincr barcodes from DB values' => sub {
87
subtest 'Test generation of hbyymmincr barcodes from DB values' => sub {
89
88
89
    $schema->storage->txn_begin;
90
    plan tests => 5;
90
    plan tests => 5;
91
91
92
    $builder->schema->resultset( 'Issue' )->delete_all;
92
    $builder->schema->resultset( 'Issue' )->delete_all;
93
    $builder->schema->resultset( 'Item' )->delete_all;
93
    $builder->schema->resultset( 'Item' )->delete_all;
94
94
95
    my$barcode_branch = $builder->build({
95
    my $branchcode_1 = "LETTERS"; #NOTE: This barcode type supports only letters in the branchcode
96
            source => 'Branch',
97
            branchcode => 'LETTERS',
98
            });
99
100
    my $branchcode_1 = "LETT";
101
    print "$branchcode_1\n";
102
    my $barcodeobj;
96
    my $barcodeobj;
103
97
104
    warnings_are { $barcodeobj = C4::Barcodes->new('hbyymmincr'); }
98
    warnings_are { $barcodeobj = C4::Barcodes->new('hbyymmincr'); }
105
- 

Return to bug 15878