summaryrefslogtreecommitdiff
path: root/internal/middleware/nollamas_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middleware/nollamas_test.go')
-rw-r--r--internal/middleware/nollamas_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/middleware/nollamas_test.go b/internal/middleware/nollamas_test.go
index 37b66e5e9..ffe8cbbc8 100644
--- a/internal/middleware/nollamas_test.go
+++ b/internal/middleware/nollamas_test.go
@@ -45,7 +45,7 @@ func TestNoLLaMasMiddleware(t *testing.T) {
e := gin.New()
// Setup necessary configuration variables.
- config.SetAdvancedScraperDeterrence(true)
+ config.SetAdvancedScraperDeterrenceEnabled(true)
config.SetWebTemplateBaseDir("../../web/template")
// Load templates into engine.