Browse Source

fix service_attributes unit tests

Julius Pfrommer 7 years ago
parent
commit
2bf6a6b806
1 changed files with 0 additions and 4 deletions
  1. 0 4
      tests/check_services_attributes.c

+ 0 - 4
tests/check_services_attributes.c

@@ -170,8 +170,6 @@ START_TEST(ReadSingleAttributeValueWithoutTimestamp) {
 } END_TEST
 
 START_TEST(ReadSingleDataSourceAttributeValueEmptyWithoutTimestamp) {
-    UA_Server *server = makeTestSequence();
-
     UA_Variant empty;
     UA_Variant_init(&empty);
     UA_StatusCode ret =
@@ -192,8 +190,6 @@ START_TEST(ReadSingleDataSourceAttributeValueEmptyWithoutTimestamp) {
     // read 2
     ret = UA_Server_readValue(server, rvi.nodeId, &empty);
     ck_assert_int_eq(UA_STATUSCODE_GOOD, ret);
-
-    UA_Server_delete(server);
 } END_TEST
 
 START_TEST(ReadSingleAttributeValueRangeWithoutTimestamp) {