Skip to content

Commit

Permalink
fix hub client ut (Azure#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
danewalton authored Aug 26, 2020
1 parent f36af1e commit 730e2c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/tests/iot/hub/test_az_iot_hub_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void test_az_iot_hub_client_init_NULL_client_fails(void** state)
(void)state;

ASSERT_PRECONDITION_CHECKED(
az_iot_hub_client_init(NULL, test_device_id, test_hub_hostname, NULL));
az_iot_hub_client_init(NULL, test_hub_hostname, test_device_id, NULL));
}

static void test_az_iot_hub_client_init_NULL_device_id_fails(void** state)
Expand All @@ -63,7 +63,7 @@ static void test_az_iot_hub_client_init_NULL_device_id_fails(void** state)
az_iot_hub_client client;

ASSERT_PRECONDITION_CHECKED(
az_iot_hub_client_init(&client, AZ_SPAN_NULL, test_hub_hostname, NULL));
az_iot_hub_client_init(&client, test_hub_hostname, AZ_SPAN_NULL, NULL));
}

static void test_az_iot_hub_client_init_NULL_hub_hostname_id_fails(void** state)
Expand All @@ -72,7 +72,7 @@ static void test_az_iot_hub_client_init_NULL_hub_hostname_id_fails(void** state)

az_iot_hub_client client;

ASSERT_PRECONDITION_CHECKED(az_iot_hub_client_init(&client, test_device_id, AZ_SPAN_NULL, NULL));
ASSERT_PRECONDITION_CHECKED(az_iot_hub_client_init(&client, AZ_SPAN_NULL, test_device_id, NULL));
}

static void test_az_iot_hub_client_get_user_name_NULL_client_fails(void** state)
Expand Down

0 comments on commit 730e2c3

Please sign in to comment.