Lines 33-38
my $builder = t::lib::TestBuilder->new();
Link Here
|
33 |
|
33 |
|
34 |
$schema->storage->txn_begin; |
34 |
$schema->storage->txn_begin; |
35 |
|
35 |
|
|
|
36 |
# FIXME: sessionStorage defaults to mysql, but it seems to break transaction handling |
37 |
# this affects the other REST api tests |
38 |
t::lib::Mocks::mock_preference( 'SessionStorage', 'tmp' ); |
39 |
|
36 |
$ENV{REMOTE_ADDR} = '127.0.0.1'; |
40 |
$ENV{REMOTE_ADDR} = '127.0.0.1'; |
37 |
my $t = Test::Mojo->new('Koha::REST::V1'); |
41 |
my $t = Test::Mojo->new('Koha::REST::V1'); |
38 |
|
42 |
|
39 |
- |
|
|