Lines 28-33
BEGIN {
Link Here
|
28 |
|
28 |
|
29 |
my $driver = 'my mock driver'; |
29 |
my $driver = 'my mock driver'; |
30 |
t::lib::Mocks::mock_preference('SMSSendDriver', $driver); |
30 |
t::lib::Mocks::mock_preference('SMSSendDriver', $driver); |
|
|
31 |
t::lib::Mocks::mock_config('sms_send_config', ''); |
31 |
is( C4::SMS->driver(), $driver, 'driver returns the SMSSendDriver correctly' ); |
32 |
is( C4::SMS->driver(), $driver, 'driver returns the SMSSendDriver correctly' ); |
32 |
|
33 |
|
33 |
t::lib::Mocks::mock_preference('SMSSendUsername', 'username'); |
34 |
t::lib::Mocks::mock_preference('SMSSendUsername', 'username'); |
34 |
- |
|
|