From f0a2b67f338ed00ea058db39d918b2c065490e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ante=20Pu=C5=A1i=C4=87?= <ante.pusic@memgraph.io> Date: Fri, 5 Jan 2024 00:20:27 +0100 Subject: [PATCH] Remove obsolete unit test --- tests/unit/storage_v2_property_store.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/tests/unit/storage_v2_property_store.cpp b/tests/unit/storage_v2_property_store.cpp index 3f3718803..c8dd4dbf0 100644 --- a/tests/unit/storage_v2_property_store.cpp +++ b/tests/unit/storage_v2_property_store.cpp @@ -1,4 +1,4 @@ -// Copyright 2023 Memgraph Ltd. +// Copyright 2024 Memgraph Ltd. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source @@ -68,28 +68,6 @@ void TestIsPropertyEqual(const memgraph::storage::PropertyStore &store, memgraph } } -TEST(PropertyStore, SimpleExternallyStored) { - auto mock = memgraph::storage::ExternalStoreMock(); - - memgraph::storage::PropertyStore props; - auto prop = memgraph::storage::PropertyId::FromInt(42); - auto value = memgraph::storage::PropertyValue(42); - - ASSERT_TRUE(props.SetProperty(prop, value, true, &mock)); - - ASSERT_EQ(props.GetProperty(prop, true, &mock), value); - - ASSERT_TRUE(props.HasProperty(prop, true, &mock)); - - ASSERT_TRUE(props.SetProperty(prop, memgraph::storage::PropertyValue(), true, &mock)); - - ASSERT_TRUE(props.GetProperty(prop, true, &mock).IsNull()); - - ASSERT_FALSE(props.HasProperty(prop, true, &mock)); - - TestIsPropertyEqual(props, prop, memgraph::storage::PropertyValue()); -} - TEST(PropertyStore, Simple) { memgraph::storage::PropertyStore props; auto prop = memgraph::storage::PropertyId::FromInt(42);