Skip to content

Commit d26727b

Browse files
author
Oleksandr Iegorov
committed
ACP2E-200: Async bulk product Api is giving error
1 parent 65369cd commit d26727b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ReCaptchaWebapiRest/Test/Unit/Plugin/RestValidationPluginTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ public function testPlugin(
120120
$this->expectException(Exception::class);
121121
}
122122

123-
$this->model->afterValidate($this->subject);
123+
$proceed = function () : void {
124+
//dummy function for callable argument
125+
};
126+
127+
$this->model->aroundValidate($this->subject, $proceed);
124128
}
125129
}

0 commit comments

Comments
 (0)