Bugzilla – Attachment 178336 Details for
Bug 35451
Add tablename field to additional_field_values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35451: Fix test data
Bug-35451-Fix-test-data.patch (text/plain), 1.34 KB, created by
Martin Renvoize (ashimema)
on 2025-02-19 14:27:02 UTC
(
hide
)
Description:
Bug 35451: Fix test data
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-02-19 14:27:02 UTC
Size:
1.34 KB
patch
obsolete
>From 815fc693f50be353653e9a462ea4a8d6a44698c7 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 30 Nov 2023 12:10:30 +0000 >Subject: [PATCH] Bug 35451: Fix test data > >--- > .../Koha/Objects/Mixin/AdditionalFields.t | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >index 37e90b1e557..0521ec7b457 100755 >--- a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >+++ b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >@@ -41,16 +41,18 @@ my $bar = Koha::AdditionalField->new( > > Koha::AdditionalFieldValue->new( > { >- field_id => $foo->id, >- record_id => $basket1->basketno, >- value => 'foo value for basket1', >+ field_id => $foo->id, >+ record_table => 'aqbasket', >+ record_id => $basket1->basketno, >+ value => 'foo value for basket1', > } > )->store; > Koha::AdditionalFieldValue->new( > { >- field_id => $bar->id, >- record_id => $basket1->basketno, >- value => 'bar value for basket1', >+ field_id => $bar->id, >+ record_table => 'aqbasket', >+ record_id => $basket1->basketno, >+ value => 'bar value for basket1', > } > )->store; > >-- >2.48.1
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 35451
:
159390
|
159391
|
159392
|
159393
|
159394
|
159747
|
159748
|
159749
|
159750
|
159751
|
173147
|
173148
|
173149
|
173150
|
173151
|
173421
|
173422
|
173423
|
173424
|
173425
|
178332
|
178333
|
178334
|
178335
|
178336
|
178337
|
178338
|
178339
|
178340
|
178341