Bugzilla – Attachment 132410 Details for
Bug 30130
Allow setting EDI type at the vendor level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30130: (QA follow-up) Fix tests
Bug-30130-QA-follow-up-Fix-tests.patch (text/plain), 1.61 KB, created by
Nick Clemens (kidclamp)
on 2022-03-29 12:07:50 UTC
(
hide
)
Description:
Bug 30130: (QA follow-up) Fix tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-03-29 12:07:50 UTC
Size:
1.61 KB
patch
obsolete
>From fbf82de62f29d930603957ebdb250eac81289aae Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 29 Mar 2022 11:48:11 +0000 >Subject: [PATCH] Bug 30130: (QA follow-up) Fix tests > >Result was copied and pasted, needed to update check > >Was passing objetc instead of standard field > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Koha/Edifact/Order.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Koha/Edifact/Order.t b/t/db_dependent/Koha/Edifact/Order.t >index f624907a52..0974396dcb 100755 >--- a/t/db_dependent/Koha/Edifact/Order.t >+++ b/t/db_dependent/Koha/Edifact/Order.t >@@ -45,12 +45,12 @@ subtest 'beggining_of_message tests' => sub { > ); > my $dbic_edi_vendor = $schema->resultset('VendorEdiAccount')->find($edi_vendor->{id}); > >- my $bgm = Koha::Edifact::Order::beginning_of_message($basketno, $dbic_edi_vendor, 1); >+ my $bgm = Koha::Edifact::Order::beginning_of_message($basketno, $dbic_edi_vendor->standard, 1); > is( $bgm, qq{BGM+220+$basketno+9'}, "When vendor is set to EDItEUR standard we use 220 in BGM segment"); > > $dbic_edi_vendor->update({ standard => 'BIC'}); >- $bgm = Koha::Edifact::Order::beginning_of_message($basketno, $dbic_edi_vendor, 1); >- is( $bgm, qq{BGM+220+$basketno+9'}, "When vendor is set to BiC standard we use 22V in BGM segment"); >+ $bgm = Koha::Edifact::Order::beginning_of_message($basketno, $dbic_edi_vendor->standard, 1); >+ is( $bgm, qq{BGM+22V+$basketno+9'}, "When vendor is set to BiC standard we use 22V in BGM segment"); > > $schema->storage->txn_rollback; > }; >-- >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 30130
:
130852
|
130860
|
130960
|
130966
|
130967
|
130968
|
130969
|
130970
|
130991
|
130992
|
130993
|
130994
|
130995
|
130996
|
132404
|
132405
|
132406
|
132407
|
132408
|
132409
| 132410