|
Lines 29-34
my $schema = Koha::Database->schema;
Link Here
|
| 29 |
my $builder = t::lib::TestBuilder->new; |
29 |
my $builder = t::lib::TestBuilder->new; |
| 30 |
my $dbh = C4::Context->dbh; |
30 |
my $dbh = C4::Context->dbh; |
| 31 |
|
31 |
|
|
|
32 |
# FIXME: SessionStorage defaults to mysql, but it seems to break transaction |
| 33 |
# handling |
| 34 |
t::lib::Mocks::mock_preference( 'SessionStorage', 'tmp' ); |
| 35 |
|
| 32 |
$schema->storage->txn_begin; |
36 |
$schema->storage->txn_begin; |
| 33 |
|
37 |
|
| 34 |
subtest 'checkauth() tests' => sub { |
38 |
subtest 'checkauth() tests' => sub { |
| 35 |
- |
|
|