Skip to content

Commit b680053

Browse files
committed
MC-37789: Cover Product Review web APIs with ReCaptcha
1 parent 7bdd4b5 commit b680053

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ReCaptchaReview/Test/Api/GraphQl/Review/ProductReviewsTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ protected function setUp(): void
4646
* @magentoApiDataFixture Magento/GraphQl/Catalog/_files/simple_product.php
4747
* @magentoApiDataFixture Magento/Customer/_files/customer.php
4848
*
49+
* @magentoConfigFixture default_store customer/captcha/enable 0
50+
* @magentoConfigFixture base_website recaptcha_frontend/type_invisible/public_key test_public_key
51+
* @magentoConfigFixture base_website recaptcha_frontend/type_invisible/private_key test_private_key
52+
* @magentoConfigFixture base_website recaptcha_frontend/type_for/product_review invisible
53+
*
4954
* @dataProvider customerDataProvider
5055
*/
5156
public function testAddProductReviewReCaptchaValidationFailed(string $customerName, bool $isGuest): void

0 commit comments

Comments
 (0)