|
Lines 26-31
use Koha::SearchEngine::Elasticsearch::QueryBuilder;
Link Here
|
| 26 |
use Koha::SearchEngine::Elasticsearch::Indexer; |
26 |
use Koha::SearchEngine::Elasticsearch::Indexer; |
| 27 |
use Koha::SearchFields; |
27 |
use Koha::SearchFields; |
| 28 |
|
28 |
|
|
|
29 |
my $schema = Koha::Database->new()->schema(); |
| 30 |
$schema->storage->txn_begin; |
| 31 |
|
| 29 |
my $se = Test::MockModule->new('Koha::SearchEngine::Elasticsearch'); |
32 |
my $se = Test::MockModule->new('Koha::SearchEngine::Elasticsearch'); |
| 30 |
$se->mock( |
33 |
$se->mock( |
| 31 |
'get_elasticsearch_mappings', |
34 |
'get_elasticsearch_mappings', |
|
Lines 123-129
SKIP: {
Link Here
|
| 123 |
subtest "_convert_facets" => sub { |
126 |
subtest "_convert_facets" => sub { |
| 124 |
plan tests => 5; |
127 |
plan tests => 5; |
| 125 |
|
128 |
|
| 126 |
my $schema = Koha::Database->new()->schema(); |
|
|
| 127 |
$schema->storage->txn_begin; |
129 |
$schema->storage->txn_begin; |
| 128 |
my $builder = t::lib::TestBuilder->new; |
130 |
my $builder = t::lib::TestBuilder->new; |
| 129 |
|
131 |
|
| 130 |
- |
|
|