Bugzilla – Attachment 56140 Details for
Bug 17226
Improve AUTOLOAD of Koha::Object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17226 - Fix unit tests
Bug-17226---Fix-unit-tests.patch (text/plain), 1.29 KB, created by
Kyle M Hall (khall)
on 2016-10-11 09:00:57 UTC
(
hide
)
Description:
Bug 17226 - Fix unit tests
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-10-11 09:00:57 UTC
Size:
1.29 KB
patch
obsolete
>From ffe33d7096d7ae1e6a0670c74aaba893240cc0d8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 10 Oct 2016 17:30:43 +0000 >Subject: [PATCH] Bug 17226 - Fix unit tests > >--- > t/Patron.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/Patron.t b/t/Patron.t >index b62accd..e3a2dd4 100755 >--- a/t/Patron.t >+++ b/t/Patron.t >@@ -50,13 +50,13 @@ is( $object2->surname(), "Test Patron Surname 3", "Bad Set does not set field" ) > is( $ret, 0, "Set returns 0 when passed a bad property" ); > > warning_is { $ret = $object->bork() } >- "No method bork!", >- "Expected 'No method bork!' caught for getter."; >+ "The method bork is not covered by tests or does not exist!", >+ "Expected 'The method bork is not covered by tests or does not exist!' caught for getter."; > ok( ! defined $ret, 'Bad getter returns undef' ); > > warning_is { $ret = $object->bork('bork') } >- "No method bork!", >- "Expected 'No method bork!' caught for setter."; >+ "The method bork is not covered by tests or does not exist!", >+ "Expected 'The method bork is not covered by tests or does not exist!' caught for setter."; > ok( ! defined $ret, 'Bad setter returns undef' ); > > my $patron = Koha::Patron->new( >-- >2.1.4
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 17226
:
55037
|
55038
|
55203
|
55204
|
56138
|
56139
| 56140