aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_network.cpp
diff options
context:
space:
mode:
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);