Lines 30-35
my $driver = 'my mock driver';
Link Here
|
30 |
t::lib::Mocks::mock_preference('SMSSendDriver', $driver); |
30 |
t::lib::Mocks::mock_preference('SMSSendDriver', $driver); |
31 |
is( C4::SMS->driver(), $driver, 'driver returns the SMSSendDriver correctly' ); |
31 |
is( C4::SMS->driver(), $driver, 'driver returns the SMSSendDriver correctly' ); |
32 |
|
32 |
|
|
|
33 |
t::lib::Mocks::mock_preference('SMSSendUsername', 'username'); |
34 |
t::lib::Mocks::mock_preference('SMSSendPassword', 'pwd'); |
33 |
|
35 |
|
34 |
my $send_sms = C4::SMS->send_sms(); |
36 |
my $send_sms = C4::SMS->send_sms(); |
35 |
is( $send_sms, undef, 'send_sms without arguments returns undef' ); |
37 |
is( $send_sms, undef, 'send_sms without arguments returns undef' ); |
36 |
- |
|
|