aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_network.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-02-14 14:16:27 +0100
committerGitHub <noreply@github.com>2022-02-14 14:16:27 +0100
commit4db1dd5471ccc6b714699801cacd1774e8ff9c33 (patch)
treea5a3b9ec15b277c059afa6a3955688670636751e /test/unit/test_network.cpp
parent944efc557af4068be7dcf7c44ca9262516e4cc8a (diff)
parent0f4509430517b5fd5f411e4c47e51971cbdafce3 (diff)
downloadPROJ-4db1dd5471ccc6b714699801cacd1774e8ff9c33.tar.gz
PROJ-4db1dd5471ccc6b714699801cacd1774e8ff9c33.zip
Merge pull request #3049 from rouault/proj_ini_ca_bundle_path
proj.ini: add a 'ca_bundle_path' variable
Diffstat (limited to 'test/unit/test_network.cpp')
-rw-r--r--test/unit/test_network.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/test_network.cpp b/test/unit/test_network.cpp
index fcafdf07..f8b70ae8 100644
--- a/test/unit/test_network.cpp
+++ b/test/unit/test_network.cpp
@@ -131,9 +131,8 @@ TEST(networking, basic) {
#ifdef CURL_ENABLED
// enable through env variable
- ctx = proj_context_create();
- proj_grid_cache_set_enable(ctx, false);
putenv(const_cast<char *>("PROJ_NETWORK=ON"));
+ ctx = proj_context_create();
P = proj_create(ctx, pipeline);
if (networkAccessOK) {
ASSERT_NE(P, nullptr);