Bugzilla – Attachment 35815 Details for
Bug 13019
Add base classes on which to build Koha objects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13019 [QA Followup] - Fix stale unit test
Bug-13019-QA-Followup---Fix-stale-unit-test.patch (text/plain), 914 bytes, created by
Kyle M Hall (khall)
on 2015-02-10 19:12:23 UTC
(
hide
)
Description:
Bug 13019 [QA Followup] - Fix stale unit test
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-02-10 19:12:23 UTC
Size:
914 bytes
patch
obsolete
>From 5a59ca41ad4bf2bb9755ac95a8a3f111619c1032 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 10 Feb 2015 14:01:51 -0500 >Subject: [PATCH] Bug 13019 [QA Followup] - Fix stale unit test > >--- > t/Borrower.t | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/t/Borrower.t b/t/Borrower.t >index 3ce7f06..8da4d88 100755 >--- a/t/Borrower.t >+++ b/t/Borrower.t >@@ -42,7 +42,7 @@ is( $object2->surname(), 'Test Borrower Surname 2', "Accessor returns correct va > > my $ret; > $ret = $object2->set({ surname => "Test Borrower Surname 3", firstname => "Test Firstname" }); >-is( $ret, 1, "Set returns 1 on success" ); >+ok( ref($ret) eq 'Koha::Borrower', "Set returns object on success" ); > is( $object2->surname(), "Test Borrower Surname 3", "Set sets first field correctly" ); > is( $object2->firstname(), "Test Firstname", "Set sets second field correctly" ); > >-- >1.7.2.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 13019
:
31964
|
32004
|
32007
|
32008
|
32009
|
32042
|
32043
|
32045
|
32056
|
32059
|
32065
|
32068
|
33418
|
33419
|
33420
|
33797
|
33840
|
33841
|
33842
|
33843
|
33844
|
33845
|
33846
|
33847
|
33848
|
33849
|
33850
|
33852
|
35813
|
35814
| 35815 |
35980