aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/core/GpgCoreTestKeyModel.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-13 15:22:33 +0000
committersaturneric <[email protected]>2024-12-13 15:22:33 +0000
commitf7a00c58d2824f49ecaafc0152fc0b8213772e46 (patch)
treed012e5fac4ff9f48cd10381a0b79de0294d28d18 /src/test/core/GpgCoreTestKeyModel.cpp
parentdoc: update SECURITY.md (diff)
downloadGpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.tar.gz
GpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.zip
refactor: using qt containers instead of std containers
Diffstat (limited to 'src/test/core/GpgCoreTestKeyModel.cpp')
-rw-r--r--src/test/core/GpgCoreTestKeyModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/core/GpgCoreTestKeyModel.cpp b/src/test/core/GpgCoreTestKeyModel.cpp
index 5d72956f..f5078845 100644
--- a/src/test/core/GpgCoreTestKeyModel.cpp
+++ b/src/test/core/GpgCoreTestKeyModel.cpp
@@ -189,8 +189,8 @@ TEST_F(GpgCoreTest, GpgKeyGetterTest) {
ASSERT_TRUE(key.IsGood());
auto keys = GpgKeyGetter::GetInstance(kGpgFrontendDefaultChannel).FetchKey();
- EXPECT_GT(keys->size(), 0);
- ASSERT_TRUE(find(keys->begin(), keys->end(), key) != keys->end());
+ EXPECT_GT(keys.size(), 0);
+ ASSERT_TRUE(std::find(keys.begin(), keys.end(), key) != keys.end());
}
} // namespace GpgFrontend::Test \ No newline at end of file