Skip to content

Commit

Permalink
fix client test with unit test el clock
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Sep 11, 2023
1 parent 861a3f1 commit a053f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/client/check_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ START_TEST(ClientConfig_Copy){
UA_ClientConfig srcConfig;
memset(&srcConfig, 0, sizeof(UA_ClientConfig));
UA_ClientConfig_setDefault(&srcConfig);
srcConfig.eventLoop->dateTime_nowMonotonic = UA_DateTime_nowMonotonic_fake;

UA_StatusCode retval = UA_ClientConfig_copy(&srcConfig, &dstConfig);
ck_assert_uint_eq(retval, UA_STATUSCODE_GOOD);
Expand All @@ -104,7 +105,6 @@ END_TEST

START_TEST(Client_connect) {
UA_Client *client = UA_Client_newForUnitTest();
UA_ClientConfig_setDefault(UA_Client_getConfig(client));
UA_StatusCode retval = UA_Client_connect(client, "opc.tcp://localhost:4840");

ck_assert_uint_eq(retval, UA_STATUSCODE_GOOD);
Expand Down

0 comments on commit a053f4a

Please sign in to comment.