Bugzilla – Attachment 187873 Details for
Bug 38489
EDI should be updated to use the new FTP/SFTP Servers management page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38489: (follow-up) Update bug 40587 tests
Bug-38489-follow-up-Update-bug-40587-tests.patch (text/plain), 2.02 KB, created by
Martin Renvoize (ashimema)
on 2025-10-14 10:26:39 UTC
(
hide
)
Description:
Bug 38489: (follow-up) Update bug 40587 tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-10-14 10:26:39 UTC
Size:
2.02 KB
patch
obsolete
>From 6af242e752460466d8b1ab2ba0bf215d5478b07e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >Date: Tue, 14 Oct 2025 11:22:31 +0100 >Subject: [PATCH] Bug 38489: (follow-up) Update bug 40587 tests > >We pushed bug 40587 since this bug Passed QA. It introduces a new test >using the older construct, so this patch updates that test to add the >new construct by building a File::Transport. >--- > t/db_dependent/Koha/EDI.t | 25 +++++++++++++++++++------ > 1 file changed, 19 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/Koha/EDI.t b/t/db_dependent/Koha/EDI.t >index c58d7e94ce6..a953aafc795 100755 >--- a/t/db_dependent/Koha/EDI.t >+++ b/t/db_dependent/Koha/EDI.t >@@ -242,16 +242,29 @@ subtest 'process_quote' => sub { > > $schema->storage->txn_begin; > >+ # Create file transport for local testing >+ my $file_transport = $builder->build( >+ { >+ source => 'FileTransport', >+ value => { >+ name => 'Test Local Transport', >+ transport => 'local', >+ download_directory => $dirname, >+ upload_directory => $dirname, >+ } >+ } >+ ); >+ > my $account = $builder->build( > { > source => 'VendorEdiAccount', > value => { >- description => 'multi-message test vendor', >- transport => 'FILE', >- plugin => '', >- san => $test_san, >- orders_enabled => 1, >- auto_orders => 1, >+ description => 'multi-message test vendor', >+ file_transport_id => $file_transport->{file_transport_id}, >+ plugin => '', >+ san => $test_san, >+ orders_enabled => 1, >+ auto_orders => 1, > } > } > ); >-- >2.51.0
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 38489
:
175204
|
175205
|
175206
|
175207
|
176118
|
176119
|
176161
|
185324
|
186819
|
186820
|
186845
|
186846
|
186847
|
186848
|
186849
|
186850
|
186851
|
186852
|
186854
|
187080
|
187081
|
187082
|
187083
|
187084
|
187085
|
187086
|
187087
|
187088
|
187089
|
187108
|
187147
|
187148
|
187149
|
187150
|
187151
|
187152
|
187153
|
187154
|
187155
|
187156
|
187157
|
187158
|
187159
|
187270
|
187271
|
187272
|
187273
|
187274
|
187275
|
187276
|
187277
|
187278
|
187279
|
187280
|
187281
|
187283
|
187284
|
187285
|
187286
|
187287
|
187288
|
187289
|
187290
|
187291
|
187292
|
187293
|
187294
|
187861
|
187862
|
187863
|
187864
|
187865
|
187866
|
187867
|
187868
|
187869
|
187870
|
187871
|
187872
| 187873 |
187897
|
187916
|
187918
|
187923
|
187924
|
187925
|
187926