|
Lines 673-679
subtest 'objects.find helper with expanded authorised values' => sub {
Link Here
|
| 673 |
|
673 |
|
| 674 |
my $city_class = Test::MockModule->new('Koha::City'); |
674 |
my $city_class = Test::MockModule->new('Koha::City'); |
| 675 |
$city_class->mock( |
675 |
$city_class->mock( |
| 676 |
'api_strings_mapping', |
676 |
'strings_map', |
| 677 |
sub { |
677 |
sub { |
| 678 |
my ($self, $params) = @_; |
678 |
my ($self, $params) = @_; |
| 679 |
use Koha::AuthorisedValues; |
679 |
use Koha::AuthorisedValues; |
|
Lines 786-792
subtest 'objects.search helper with expanded authorised values' => sub {
Link Here
|
| 786 |
|
786 |
|
| 787 |
my $city_class = Test::MockModule->new('Koha::City'); |
787 |
my $city_class = Test::MockModule->new('Koha::City'); |
| 788 |
$city_class->mock( |
788 |
$city_class->mock( |
| 789 |
'api_strings_mapping', |
789 |
'strings_map', |
| 790 |
sub { |
790 |
sub { |
| 791 |
my ($self, $params) = @_; |
791 |
my ($self, $params) = @_; |
| 792 |
use Koha::AuthorisedValues; |
792 |
use Koha::AuthorisedValues; |
| 793 |
- |
|
|