Bugzilla – Attachment 33005 Details for
Bug 13172
t/Koha_Email.t depends on the database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13172 t/Koha_Email.t was database dependent
Bug-13172-tKohaEmailt-was-database-dependent.patch (text/plain), 1.04 KB, created by
Chris Cormack
on 2014-10-30 22:17:02 UTC
(
hide
)
Description:
Bug 13172 t/Koha_Email.t was database dependent
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-10-30 22:17:02 UTC
Size:
1.04 KB
patch
obsolete
>From f032bdaff55890227d2a724fc0c5c84b9c207d66 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Fri, 31 Oct 2014 11:15:17 +1300 >Subject: [PATCH] Bug 13172 t/Koha_Email.t was database dependent > >To test >1/ Stop your database server >2/ run t/Koha_Email.t >3/ Notice the errors >4/ Apply patch >5/ run t/Koha_Email.t again >6/ No errors > >(Don't forget to restart your db server after) >--- > t/Koha_Email.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/Koha_Email.t b/t/Koha_Email.t >index 764f5c1..93dd55b 100755 >--- a/t/Koha_Email.t >+++ b/t/Koha_Email.t >@@ -1,10 +1,15 @@ > use Modern::Perl; > >+use t::lib::Mocks; > use Test::More tests => 4; # last test to print > > use_ok('Koha::Email'); > > my $from = 'chrisc@catalyst.net.nz'; >+t::lib::Mocks::mock_preference('ReplytoDefault', $from); >+t::lib::Mocks::mock_preference('ReturnpathDefault', $from); >+ >+ > > ok( my $email = Koha::Email->new(), 'Create a Koha::Email Object'); > ok( my %mail = $email->create_message_headers({from => $from}),'Set headers'); >-- >2.1.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 13172
:
33005
|
33014
|
33015