View | Details | Raw Unified | Return to bug 28615
Collapse All | Expand All

(-)a/t/lib/Mocks/Logger.pm (-2 / +1 lines)
Lines 48-54 sub new { Link Here
48
    my $mocked_logger_class = Test::MockModule->new("Koha::Logger");
48
    my $mocked_logger_class = Test::MockModule->new("Koha::Logger");
49
    my $mocked_logger = Test::MockObject->new();
49
    my $mocked_logger = Test::MockObject->new();
50
50
51
    $mocked_logger_class->mock(
51
    $mocked_logger_class->redefine(
52
        'get',
52
        'get',
53
        sub {
53
        sub {
54
            return $mocked_logger;
54
            return $mocked_logger;
55
- 

Return to bug 28615