This repository was archived by the owner on Feb 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed
tests/Providers/Reviewsio/Request/Merchant Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,6 @@ class MerchantActions implements ActionsInterface
2828 */
2929 protected $ config ;
3030
31- /**
32- * Store value to pass as option when making request.
33- * The store value is typically tied to the apiKey.
34- *
35- * @var string
36- */
37- protected $ store ;
38-
3931 /**
4032 * ServiceReview constructor.
4133 *
@@ -83,7 +75,7 @@ public function getReviews(array $options = [])
8375 }
8476
8577 /**
86- * Find reviews by id.
78+ * Find review by id.
8779 *
8880 * @param string $reviewId
8981 *
@@ -94,7 +86,7 @@ public function findReview(string $reviewId)
9486 {
9587 $ options = [
9688 'reviewId ' => $ reviewId ,
97- 'store ' => $ this ->store ,
89+ 'store ' => $ this ->config [ ' store ' ] ,
9890 ];
9991
10092 $ request = new FindReviewRequest ($ this ->apiClient , $ options );
Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ public function getRequest(): Request
3232 */
3333 public function requiredFields (): array
3434 {
35- return [
36- 'reviewId '
37- ];
35+ return [];
3836 }
3937
4038 /**
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function testRequiredFields()
4040 'reviewId ' => 'review-id-123 ' ,
4141 ]);
4242
43- $ this ->assertEquals ([' reviewId ' ], $ request ->requiredFields ());
43+ $ this ->assertEquals ([], $ request ->requiredFields ());
4444 }
4545
4646 /**
You can’t perform that action at this time.
0 commit comments