Hi, thank you for this nice package which works nicely.
I am using it in a registration form and want to add an integration test to make sure the form can be filled and submitted properly. However, the form is filled too fast by my tests and the validation fails. I am looking for a way to mock the HoneypotValidator->validateHoneytime() method and make it return true during my test.
Hi, thank you for this nice package which works nicely.
I am using it in a registration form and want to add an integration test to make sure the form can be filled and submitted properly. However, the form is filled too fast by my tests and the validation fails. I am looking for a way to mock the HoneypotValidator->validateHoneytime() method and make it return true during my test.
Is there a way to do this ?
Thank you