Skip to content

Commit ce0bb7f

Browse files
author
Marcin Radomski
committed
Update test_AT_CellularSMS_get_sms
0 is now a valid value
1 parent 17f6f1c commit ce0bb7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNITTESTS/features/cellular/framework/AT/at_cellularsms/at_cellularsmstest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ TEST_F(TestAT_CellularSMS, test_AT_CellularSMS_get_sms)
137137
EXPECT_TRUE(NSAPI_ERROR_PARAMETER == sms.get_sms(NULL, 16, phone, 21, stamp, 21, &size));
138138

139139
ATHandler_stub::resp_info_true_counter = 1;
140-
ATHandler_stub::int_value = 0;
140+
ATHandler_stub::int_value = -1;
141141
EXPECT_TRUE(-1 == sms.get_sms(buf, 16, phone, 21, stamp, 21, &size));
142142

143143
//In below we are expecting the stub ATHandler info_resp() to respond

0 commit comments

Comments
 (0)