Bugzilla – Attachment 46006 Details for
Bug 15432
t/db_dependent/Letters.t depends on external data/configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15432: t/db_dependent/Letters.t depends on external data/configuration
Bug-15432-tdbdependentLetterst-depends-on-external.patch (text/plain), 1.09 KB, created by
Marc Véron
on 2015-12-28 15:04:58 UTC
(
hide
)
Description:
Bug 15432: t/db_dependent/Letters.t depends on external data/configuration
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-28 15:04:58 UTC
Size:
1.09 KB
patch
obsolete
>From 6718a7d11005577806326b2cc3cdbfe39e8cfbd3 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 28 Dec 2015 16:00:54 +0100 >Subject: [PATCH] Bug 15432: t/db_dependent/Letters.t depends on external > data/configuration > >To test: > >- Set system preference LetterLog to 'Don't log' >- prove t/db_dependent/Letters.t >- Result: Fails on test 62 - Successfully sent claim >- Apply patch >- Test again >- Result: Pass OK >--- > t/db_dependent/Letters.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index 2e0d854..c6cf209 100644 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -386,6 +386,9 @@ $bookseller->contacts->[0]->email('testemail@mydomain.com'); > C4::Bookseller::ModBookseller($bookseller); > $bookseller = Koha::Acquisition::Bookseller->fetch({ id => $booksellerid }); > >+# Ensure that the preference 'LetterLog' is set to logging (Bug 15432): >+C4::Context->set_preference( 'LetterLog', 'on' ); >+ > { > warning_is { > $err = SendAlerts( 'claimacquisition', [ $ordernumber ], 'TESTACQCLAIM' ) } >-- >1.7.10.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 15432
:
46006
|
46070
|
46071