Bugzilla – Attachment 153908 Details for
Bug 34415
Remove Test::DBIx::Class from t/EdiTransport.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34415: Perltidy file
Bug-34415-Perltidy-file.patch (text/plain), 1.99 KB, created by
Marcel de Rooy
on 2023-07-26 11:34:05 UTC
(
hide
)
Description:
Bug 34415: Perltidy file
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-07-26 11:34:05 UTC
Size:
1.99 KB
patch
obsolete
>From f669ca7108b1bdb7eecece0a53c60ba92fcc5d78 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 26 Jul 2023 07:32:21 +0000 >Subject: [PATCH] Bug 34415: Perltidy file >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Edifact/Transport.t | 25 +++++++++++++++++-------- > 1 file changed, 17 insertions(+), 8 deletions(-) > >diff --git a/t/db_dependent/Koha/Edifact/Transport.t b/t/db_dependent/Koha/Edifact/Transport.t >index f800611baf..9172cc5f12 100755 >--- a/t/db_dependent/Koha/Edifact/Transport.t >+++ b/t/db_dependent/Koha/Edifact/Transport.t >@@ -9,17 +9,25 @@ use t::lib::TestBuilder; > > use Koha::Database; > >-my $schema = Koha::Database->new->schema; >+my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; > > $schema->storage->txn_begin; > >-my $account = $builder->build({ source => 'VendorEdiAccount', value => { >- description => 'test vendor', transport => 'FILE', >-}}); >-$builder->build({ source => 'EdifactMessage', value => { >- message_type => 'TEST', filename => 'duplicate', raw_msg => 'message_contents' >-}}); >+my $account = $builder->build( >+ { >+ source => 'VendorEdiAccount', >+ value => { >+ description => 'test vendor', transport => 'FILE', >+ } >+ } >+); >+$builder->build( >+ { >+ source => 'EdifactMessage', >+ value => { message_type => 'TEST', filename => 'duplicate', raw_msg => 'message_contents' } >+ } >+); > > my $filename = 'QUOTES_413514.CEQ'; > >@@ -41,7 +49,8 @@ my $cnt = $schema->resultset('EdifactMessage')->count(); > is( $cnt, 2, 'unique message name ingested' ); > > # try a repeat ingest >-warning_like {$trans->ingest( $mhash, $filename ) } qr/skipping ingest of QUOTES_413514.CEQ/, 'Warning on repeated ingest'; >+warning_like { $trans->ingest( $mhash, $filename ) } qr/skipping ingest of QUOTES_413514.CEQ/, >+ 'Warning on repeated ingest'; > > my $cnt2 = $schema->resultset('EdifactMessage')->count(); > >-- >2.30.2
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 34415
:
153906
|
153907
|
153908
|
153909
|
153943
|
153944
|
153945
|
153946
|
155174
|
155798