aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/GpgFrontendTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/GpgFrontendTest.cpp')
-rw-r--r--src/test/GpgFrontendTest.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/test/GpgFrontendTest.cpp b/src/test/GpgFrontendTest.cpp
index 0075c113..7b318aec 100644
--- a/src/test/GpgFrontendTest.cpp
+++ b/src/test/GpgFrontendTest.cpp
@@ -107,16 +107,17 @@ void ConfigureGpgContext() {
std::filesystem::create_directory(db_path);
}
- GpgContext::CreateInstance(
- kGpgFrontendDefaultChannel, [&]() -> ChannelObjectPtr {
- GpgContextInitArgs args;
- args.test_mode = true;
- args.offline_mode = true;
- args.db_path = db_path.string();
-
- return ConvertToChannelObjectPtr<>(SecureCreateUniqueObject<GpgContext>(
- args, kGpgFrontendDefaultChannel));
- });
+ // GpgContext::CreateInstance(
+ // kGpgFrontendDefaultChannel, [&]() -> ChannelObjectPtr {
+ // GpgContextInitArgs args;
+ // args.test_mode = true;
+ // args.offline_mode = true;
+ // args.db_path = db_path.string();
+
+ // return
+ // ConvertToChannelObjectPtr<>(SecureCreateUniqueObject<GpgContext>(
+ // args, kGpgFrontendDefaultChannel));
+ // });
}
auto ExecuteAllTestCase(GpgFrontendContext args) -> int {