From b0915d938e6243248699fe33d9e062aaa1bae112 Mon Sep 17 00:00:00 2001 From: Rustam Gamidov Date: Thu, 12 Mar 2026 09:08:56 +0200 Subject: [PATCH] Functional read tests to return NoContent Following recent change in the read library Relates-To: HERESUP-50889 Signed-off-by: Rustam Gamidov --- .../DataserviceReadVersionedLayerClientTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional/olp-cpp-sdk-dataservice-read/DataserviceReadVersionedLayerClientTest.cpp b/tests/functional/olp-cpp-sdk-dataservice-read/DataserviceReadVersionedLayerClientTest.cpp index ebc735c34..4bb42d515 100644 --- a/tests/functional/olp-cpp-sdk-dataservice-read/DataserviceReadVersionedLayerClientTest.cpp +++ b/tests/functional/olp-cpp-sdk-dataservice-read/DataserviceReadVersionedLayerClientTest.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2021 HERE Europe B.V. + * Copyright (C) 2019-2026 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -521,7 +521,7 @@ TEST_F(DataserviceReadVersionedLayerClientTest, }); EXPECT_FALSE(data_response.IsSuccessful()); - ASSERT_EQ(olp::client::ErrorCode::NotFound, + ASSERT_EQ(olp::client::ErrorCode::NoContent, data_response.GetError().GetErrorCode()); } @@ -540,7 +540,7 @@ TEST_F(DataserviceReadVersionedLayerClientTest, GetDataWithEmptyField) { }); EXPECT_FALSE(data_response.IsSuccessful()); - ASSERT_EQ(olp::client::ErrorCode::NotFound, + ASSERT_EQ(olp::client::ErrorCode::NoContent, data_response.GetError().GetErrorCode()); }