Bugzilla – Attachment 162231 Details for
Bug 36098
Create Koha::Session module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36098: (follow-up) extend test to check driver
Bug-36098-follow-up-extend-test-to-check-driver.patch (text/plain), 984 bytes, created by
David Cook
on 2024-02-15 23:11:21 UTC
(
hide
)
Description:
Bug 36098: (follow-up) extend test to check driver
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-02-15 23:11:21 UTC
Size:
984 bytes
patch
obsolete
>From 2ed470cbc5dee708ad3a066a650fef6a103fba8f Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 15 Feb 2024 23:07:02 +0000 >Subject: [PATCH] Bug 36098: (follow-up) extend test to check driver > >--- > t/db_dependent/Koha/Session.t | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Session.t b/t/db_dependent/Koha/Session.t >index 3fe7cff42f..e9cce064c3 100755 >--- a/t/db_dependent/Koha/Session.t >+++ b/t/db_dependent/Koha/Session.t >@@ -1,7 +1,7 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > use C4::Auth; >@@ -27,3 +27,10 @@ subtest 'basic session fetch' => sub { > > $schema->storage->txn_rollback; > }; >+ >+subtest 'test session driver' => sub { >+ plan tests => 1; >+ >+ my $params = Koha::Session->_get_session_params(); >+ is( $params->{dsn}, 'serializer:yamlxs;driver:MySQL;id:md5', 'dsn setup correctly' ); >+}; >-- >2.30.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 36098
:
162167
|
162200
|
162201
|
162204
|
162205
|
162228
| 162231 |
162314