diff --git a/test/test_entity.cpp b/test/test_entity.cpp
index 4c0820d84dfe9fac7231c0db32151aac40c8b495..1b32cef1b51610df4f02ead731626d5e902df6e0 100644
--- a/test/test_entity.cpp
+++ b/test/test_entity.cpp
@@ -79,8 +79,6 @@ TEST(test_entity, test_insert_with_role) { // NOLINT
     std::shared_ptr<transaction::EntityTransactionService::Stub>(nullptr));
 
   auto entity = Entity();
-  entity.SetId("entity_id");
-  entity.SetVersionId("version_id");
   entity.SetRole("Property");
   entity.SetDatatype("DOUBLE");
   entity.SetName("Length");
@@ -89,8 +87,6 @@ TEST(test_entity, test_insert_with_role) { // NOLINT
 
   transaction.InsertEntity(&entity);
 
-  EXPECT_EQ(entity.GetId(), "entity_id");
-  EXPECT_EQ(entity.GetVersionId(), "version_id");
   EXPECT_EQ(entity.GetRole(), "Property");
   EXPECT_EQ(entity.GetDatatype(), "DOUBLE");
   EXPECT_EQ(entity.GetName(), "Length");