aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-02-12 19:04:02 +0100
committerEven Rouault <even.rouault@spatialys.com>2022-02-12 19:04:06 +0100
commit0f4509430517b5fd5f411e4c47e51971cbdafce3 (patch)
tree9f5e5e679159caa91fbcf2fae9563a15ba6a203f /test
parenta9ce8aa28f0ccf775f238b2ca1bafca0c7616bcf (diff)
downloadPROJ-0f4509430517b5fd5f411e4c47e51971cbdafce3.tar.gz
PROJ-0f4509430517b5fd5f411e4c47e51971cbdafce3.zip
proj.ini: add a 'ca_bundle_path' variable
Cf thread https://lists.osgeo.org/pipermail/gdal-dev/2022-February/thread.html#55391
Diffstat (limited to 'test')
-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);