Bugzilla – Attachment 51688 Details for
Bug 15878
C4::Barcodes::hbyymmincr inccorectly calculates max and should warn when no branchcode present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15878 - QA Followup
Bug-15878---QA-Followup.patch (text/plain), 1.28 KB, created by
Nick Clemens (kidclamp)
on 2016-05-21 23:43:03 UTC
(
hide
)
Description:
Bug 15878 - QA Followup
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-05-21 23:43:03 UTC
Size:
1.28 KB
patch
obsolete
>From 477f57faa97c4063573733ce18ffdba1d02e2fb1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Sat, 21 May 2016 19:41:37 -0400 >Subject: [PATCH] Bug 15878 - QA Followup > >* Remove debug statment >* Move transcation start >* Remove unused testbuilder object >--- > t/db_dependent/Barcodes.t | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > >diff --git a/t/db_dependent/Barcodes.t b/t/db_dependent/Barcodes.t >index eea7c42..a71b542 100755 >--- a/t/db_dependent/Barcodes.t >+++ b/t/db_dependent/Barcodes.t >@@ -84,21 +84,15 @@ subtest 'Test generation of annual barcodes from DB values' => sub { > }; > > >-$schema->storage->txn_begin; > subtest 'Test generation of hbyymmincr barcodes from DB values' => sub { > >+ $schema->storage->txn_begin; > plan tests => 5; > > $builder->schema->resultset( 'Issue' )->delete_all; > $builder->schema->resultset( 'Item' )->delete_all; > >- my$barcode_branch = $builder->build({ >- source => 'Branch', >- branchcode => 'LETTERS', >- }); >- >- my $branchcode_1 = "LETT"; >- print "$branchcode_1\n"; >+ my $branchcode_1 = "LETTERS"; #NOTE: This barcode type supports only letters in the branchcode > my $barcodeobj; > > warnings_are { $barcodeobj = C4::Barcodes->new('hbyymmincr'); } >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15878
:
51477
|
51478
|
51479
|
51624
|
51625
|
51688
|
51690
|
51691
|
51692
|
51694
|
51695