fahim alavi / ublox-at-cellular-interface
Revision:
32:3f3bab745801
Parent:
30:ba0f4f894136
Child:
33:25f49bb4876c
--- a/TESTS/unit_tests/default/main.cpp	Tue Jul 30 17:04:08 2019 +0500
+++ b/TESTS/unit_tests/default/main.cpp	Wed Jul 31 10:53:26 2019 +0500
@@ -1185,19 +1185,6 @@
                                    MBED_CONF_APP_USERNAME, MBED_CONF_APP_PASSWORD) == 0);
 
     drop_connection(interface);
-
-    // Restore MNO profile to previous settings
-    TEST_ASSERT(interface->set_mno_profile((UbloxATCellularInterface::MNOProfile)previous_profile));
-    tr_debug("Previous MNO configured\n");
-
-    // Rebooting modem for settings to take effect
-	TEST_ASSERT(interface->reboot_modem());
-	tr_debug("Reboot successful\n");
-	wait_ms(5000);
-
-    // Check MNO profile configured correctly
-    TEST_ASSERT(interface->get_mno_profile(&current_profile));
-    TEST_ASSERT((current_profile == previous_profile));
 }
 
 void test_edrx() {
@@ -1243,12 +1230,12 @@
 
 // Test cases
 Case cases[] = {
-    Case("Base class tests", test_base_class),
-    Case("Set randomise", test_set_randomise),
 #ifdef TARGET_UBLOX_C030_R41XM
     Case("MNO profile test", test_mno_profile),
     Case("edrx test", test_edrx),
 #endif
+    Case("Base class tests", test_base_class),
+    Case("Set randomise", test_set_randomise),
 #if defined (TARGET_UBLOX_C030_U201) || defined (TARGET_UBLOX_C030_R412M)
     Case("Set RAT test", test_set_new_rat),
     Case("Reboot test", test_reboot),