Bugzilla – Attachment 80232 Details for
Bug 20772
Make request metadata editable and add price_paid field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20772: (follow-up) Add unit test
Bug-20772-follow-up-Add-unit-test.patch (text/plain), 1.08 KB, created by
Andrew Isherwood
on 2018-10-08 16:49:19 UTC
(
hide
)
Description:
Bug 20772: (follow-up) Add unit test
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-10-08 16:49:19 UTC
Size:
1.08 KB
patch
obsolete
>From ce933b238c3756a74fd857ddbdc0c90f64e22504 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Mon, 8 Oct 2018 17:48:39 +0100 >Subject: [PATCH] Bug 20772: (follow-up) Add unit test > >Add unit test for price_paid >--- > t/db_dependent/Illrequests.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t >index 761de9f12b..bca0ea6abc 100644 >--- a/t/db_dependent/Illrequests.t >+++ b/t/db_dependent/Illrequests.t >@@ -37,7 +37,7 @@ use_ok('Koha::Illrequests'); > > subtest 'Basic object tests' => sub { > >- plan tests => 21; >+ plan tests => 22; > > $schema->storage->txn_begin; > >@@ -74,6 +74,8 @@ subtest 'Basic object tests' => sub { > "Accessurl getter works."); > is($illrq_obj->cost, $illrq->{cost}, > "Cost getter works."); >+ is($illrq_obj->price_paid, $illrq->{price_paid}, >+ "Price_paid getter works."); > is($illrq_obj->notesopac, $illrq->{notesopac}, > "Notesopac getter works."); > is($illrq_obj->notesstaff, $illrq->{notesstaff}, >-- >2.11.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 20772
:
75491
|
75492
|
75493
|
75494
|
75495
|
75496
|
75497
|
75563
|
77230
|
77231
|
77232
|
77233
|
77234
|
77235
|
77236
|
77237
|
80010
|
80011
|
80012
|
80013
|
80014
|
80015
|
80016
|
80017
|
80027
|
80028
|
80029
|
80030
|
80031
|
80032
|
80033
|
80034
|
80035
|
80036
|
80037
|
80039
|
80041
|
80042
|
80043
|
80044
|
80045
|
80046
|
80051
|
80232
|
80566
|
80567
|
80568
|
80569
|
80570
|
80571
|
80572
|
80573
|
80574
|
80575
|
80576
|
80577