Bugzilla – Attachment 180810 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.43 KB, created by
Marcel de Rooy
on 2025-04-11 06:56:52 UTC
(
hide
)
Description:
Bug 35451: Fix test data
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-04-11 06:56:52 UTC
Size:
1.43 KB
patch
obsolete
>From 8a2e9d38c39529c2b63cd3f4019d93e0ffd57a7f 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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 b02c733a8f..5b882360c2 100755 >--- a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >+++ b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >@@ -42,16 +42,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.39.5
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
|
180806
|
180807
|
180808
|
180809
| 180810