We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c421615 commit 6c0628bCopy full SHA for 6c0628b
1 file changed
tests/Appsec/Mock.php
@@ -82,8 +82,10 @@ public function getEvents()
82
}
83
84
85
-function appsecMockEnabled() {
86
- return getenv('APPSEC_MOCK_ENABLED') === "true";
+if (!function_exists('datadog\appsec\appsecMockEnabled')) {
+ function appsecMockEnabled() {
87
+ return getenv('APPSEC_MOCK_ENABLED') === "true";
88
+ }
89
90
91
if (!function_exists('datadog\appsec\track_user_login_success_event')) {
0 commit comments