Skip to content

Commit 589915a

Browse files
Functional read tests to return NoContent (#1683)
Following recent change in the read library Relates-To: HERESUP-50889 Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
1 parent a3c7f31 commit 589915a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/functional/olp-cpp-sdk-dataservice-read/DataserviceReadVersionedLayerClientTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2021 HERE Europe B.V.
2+
* Copyright (C) 2019-2026 HERE Europe B.V.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -521,7 +521,7 @@ TEST_F(DataserviceReadVersionedLayerClientTest,
521521
});
522522

523523
EXPECT_FALSE(data_response.IsSuccessful());
524-
ASSERT_EQ(olp::client::ErrorCode::NotFound,
524+
ASSERT_EQ(olp::client::ErrorCode::NoContent,
525525
data_response.GetError().GetErrorCode());
526526
}
527527

@@ -540,7 +540,7 @@ TEST_F(DataserviceReadVersionedLayerClientTest, GetDataWithEmptyField) {
540540
});
541541

542542
EXPECT_FALSE(data_response.IsSuccessful());
543-
ASSERT_EQ(olp::client::ErrorCode::NotFound,
543+
ASSERT_EQ(olp::client::ErrorCode::NoContent,
544544
data_response.GetError().GetErrorCode());
545545
}
546546

0 commit comments

Comments
 (0)