File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,6 @@ def test_attend_not_accepted_rules(self):
269
269
self .assertInMessages ("Du må godta prikkereglene!" , response )
270
270
271
271
def test_attend_invalid_captcha (self ):
272
- # validation THROWS, it does not return a boolean
273
- # therefoer we dont even overwrite it
274
-
275
272
event = G (Event )
276
273
G (
277
274
AttendanceEvent ,
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ def get_stats_file() -> str:
107
107
108
108
TURNSTILE_SITEKEY = config (
109
109
"OW4_TURNSTILE_PUBLIC_KEY" ,
110
- default = "1x00000000000000000000AA" ,
110
+ default = "1x00000000000000000000AA" , # always pass
111
111
)
112
112
TURNSTILE_SECRET = config (
113
113
"OW4_TURNSTILE_PRIVATE_KEY" ,
114
- default = "1x0000000000000000000000000000000AA" ,
114
+ default = "2x0000000000000000000000000000000AA" , # always fail
115
115
)
116
116
TURNSTILE_DEFAULT_CONFIG = {"theme" : "light" }
117
117
You can’t perform that action at this time.
0 commit comments