Bug 36098: (follow-up) extend test to check driver
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c42ede262a
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
941f34626a
commit
973b3ce069
1 changed files with 8 additions and 1 deletions
|
@ -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' );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue