Bugzilla – Attachment 90803 Details for
Bug 23152
koha_object[s]_class methods must be implemented when needed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23152: Add tests
Bug-23152-Add-tests.patch (text/plain), 951 bytes, created by
Martin Renvoize (ashimema)
on 2019-06-19 16:06:56 UTC
(
hide
)
Description:
Bug 23152: Add tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-06-19 16:06:56 UTC
Size:
951 bytes
patch
obsolete
>From efe17edd37daff856ec4d508396dc2f17b24ac74 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 18 Jun 2019 21:39:45 -0500 >Subject: [PATCH] Bug 23152: Add tests > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/TestBuilder.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t >index 6ad1810706..3fb431da9f 100644 >--- a/t/db_dependent/TestBuilder.t >+++ b/t/db_dependent/TestBuilder.t >@@ -386,6 +386,8 @@ subtest 'build_object() tests' => sub { > eval "require $module";; > my $object = $builder->build_object( { class => $module } ); > is( ref($object), $module->object_class, "Testing $module" ); >+ eval {$object->get_from_storage}; >+ is( $@, '', "Module $module should have koha_object[s]_class method if needed" ); > } > }; > >-- >2.20.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 23152
:
90765
|
90766
| 90803 |
90804
|
91005