diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-15 16:28:11 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-05-15 16:29:55 +0200 |
commit | a25ef6974e0ba3989f6205c19a1f9ccfc81db584 (patch) | |
tree | 4ce3b386923515a662051c40f67a135ee15681f6 /net/tests | |
parent | 36e2d97ac013e023feb27df939c3f6d6e32d8669 (diff) |
core, store, tool: Use realm instead of domain.
- Remove the domain parameter from core::Context.
- Replace it with a realm to be passed in when opening a store.
- For sq, merge store name and realm into the --store parameter.
- Fixes #105.
Diffstat (limited to 'net/tests')
-rw-r--r-- | net/tests/hkp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tests/hkp.rs b/net/tests/hkp.rs index bbdf8f43..0faf40a5 100644 --- a/net/tests/hkp.rs +++ b/net/tests/hkp.rs @@ -142,7 +142,7 @@ fn start_server() -> SocketAddr { #[test] fn get() { - let ctx = Context::configure("org.sequoia-pgp.api.tests") + let ctx = Context::configure() .ephemeral() .network_policy(NetworkPolicy::Insecure) .build().unwrap(); @@ -161,7 +161,7 @@ fn get() { #[test] fn send() { - let ctx = Context::configure("org.sequoia-pgp.api.tests") + let ctx = Context::configure() .ephemeral() .network_policy(NetworkPolicy::Insecure) .build().unwrap(); |