aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/GpgFrontendTest.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-26 09:07:49 +0000
committersaturneric <[email protected]>2023-12-26 09:07:49 +0000
commitf8733b9b2be66d0d8dd8a220ed972af8520192b4 (patch)
tree8b42c7c96aaeeb3ad63139d7ab6c668c9f7bc0d0 /src/test/GpgFrontendTest.cpp
parentfix: test basical operations of gpg at both test cases and gui (diff)
downloadGpgFrontend-f8733b9b2be66d0d8dd8a220ed972af8520192b4.tar.gz
GpgFrontend-f8733b9b2be66d0d8dd8a220ed972af8520192b4.zip
fix: add test cases and test file basical operations
Diffstat (limited to 'src/test/GpgFrontendTest.cpp')
-rw-r--r--src/test/GpgFrontendTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/GpgFrontendTest.cpp b/src/test/GpgFrontendTest.cpp
index 73a18654..29903c39 100644
--- a/src/test/GpgFrontendTest.cpp
+++ b/src/test/GpgFrontendTest.cpp
@@ -122,7 +122,7 @@ void ConfigureGpgContext() {
});
}
-void ImportPrivateKeys(std::filesystem::path data_path,
+void ImportPrivateKeys(const std::filesystem::path& data_path,
const libconfig::Setting& config) {
if (config.exists("load_keys.private_keys")) {
auto& private_keys = config.lookup("load_keys.private_keys");