Bugzilla – Attachment 73782 Details for
Bug 9701
Configure default indicators
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9701: (follow-up) Adjust tests
Bug-9701-follow-up-Adjust-tests.patch (text/plain), 1.55 KB, created by
Nick Clemens (kidclamp)
on 2018-04-06 13:35:05 UTC
(
hide
)
Description:
Bug 9701: (follow-up) Adjust tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-04-06 13:35:05 UTC
Size:
1.55 KB
patch
obsolete
>From 3574c06e23227df2215254a1f63e37a61348703d Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Mon, 19 Feb 2018 10:36:04 +0000 >Subject: [PATCH] Bug 9701: (follow-up) Adjust tests > >Test plan: > >prove t/db_dependent/Biblio.t >should be green > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Biblio.t | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t >index 12dc25b..bb43bb1 100755 >--- a/t/db_dependent/Biblio.t >+++ b/t/db_dependent/Biblio.t >@@ -423,7 +423,7 @@ subtest 'NORMARC' => sub { > }; > > subtest 'IsMarcStructureInternal' => sub { >- plan tests => 6; >+ plan tests => 8; > my $tagslib = GetMarcStructure(); > my @internals; > for my $tag ( sort keys %$tagslib ) { >@@ -433,12 +433,14 @@ subtest 'IsMarcStructureInternal' => sub { > } > } > @internals = uniq @internals; >- is( scalar(@internals), 4, 'expect four internals'); >+ is( scalar(@internals), 6, 'expect 6 internals'); > is( grep( /^lib$/, @internals ), 1, 'check lib' ); > is( grep( /^tab$/, @internals ), 1, 'check tab' ); > is( grep( /^mandatory$/, @internals ), 1, 'check mandatory' ); > is( grep( /^repeatable$/, @internals ), 1, 'check repeatable' ); > is( grep( /^a$/, @internals ), 0, 'no subfield a' ); >+ is( grep( /^ind1_defaultvalue$/, @internals ), 1, 'check indicator 1 default value' ); >+ is( grep( /^ind2_defaultvalue$/, @internals ), 1, 'check indicator 2 default value' ); > }; > > subtest 'deletedbiblio_metadata' => sub { >-- >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 9701
:
52054
|
52082
|
52161
|
52171
|
52172
|
52173
|
53403
|
53404
|
71929
|
71930
|
71931
|
72010
|
72011
|
72012
|
72986
|
73780
|
73781
|
73782
|
73783
|
73843
|
73844
|
73845