瀏覽代碼

fix service_attributes unit tests

Julius Pfrommer 7 年之前
父節點
當前提交
2bf6a6b806
共有 1 個文件被更改,包括 0 次插入4 次删除
  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) {