Bugzilla – Attachment 24308 Details for
Bug 11545
Increasing test coverage for C4::Languages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] bug 11545 Increasing test coverage for Languages.pm
PASSED-QA-bug-11545-Increasing-test-coverage-for-L.patch (text/plain), 1.29 KB, created by
Katrin Fischer
on 2014-01-14 20:25:30 UTC
(
hide
)
Description:
[PASSED QA] bug 11545 Increasing test coverage for Languages.pm
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-01-14 20:25:30 UTC
Size:
1.29 KB
patch
obsolete
>From 2dc1eed3e2d100d43025605300202f06d937e769 Mon Sep 17 00:00:00 2001 >From: merllissia <manuelimel@gmail.com> >Date: Tue, 14 Jan 2014 14:18:35 +1300 >Subject: [PATCH] [PASSED QA] bug 11545 Increasing test coverage for > Languages.pm > >To test 1. Run prove t/Languages.t Apply patch 2. Run prove t/Languages.t Notice: More tests are run > >Signed-off-by: alex_h <dhorsman@xtra.co.nz> >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >Adds another passing test. I took th liberty of moving the test plan >from the subject to the commit message. :-) > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Tests pass :) >--- > t/Languages.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/Languages.t b/t/Languages.t >index 5918d95..f3bac39 100755 >--- a/t/Languages.t >+++ b/t/Languages.t >@@ -6,7 +6,7 @@ > use strict; > use warnings; > >-use Test::More tests => 4; >+use Test::More tests => 5; > > BEGIN { > use_ok('C4::Languages'); >@@ -17,3 +17,5 @@ isnt(C4::Languages::_get_themes(), undef, 'testing _get_themes doesnt return und > ok(C4::Languages::_get_language_dirs(), 'test getting _get_language_dirs'); > > is(C4::Languages::accept_language(),undef, 'test that accept_languages returns undef when nothing is entered'); >+ >+ok(C4::Languages::getAllLanguages(), 'test get all languages'); >-- >1.8.3.2
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 11545
:
24254
|
24260
|
24298
| 24308