Skip to content

Commit 3310a31

Browse files
committed
fix review comments
1 parent 3f97c47 commit 3310a31

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

tests/Fixtures/inc/Engine/Admin/RocketInsights/Recommendations/APIClient/getRecommendations.php

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
'global_score' => 65,
2929
'language' => 'en',
3030
'limit' => 5,
31+
'credentials' => [
32+
'wpr_email' => '[email protected]',
33+
'wpr_key' => 'xxxxxx',
34+
],
3135
],
3236
'timeout' => 15,
3337
],
@@ -54,7 +58,14 @@
5458
'custom_args' => [],
5559
'api_url' => '',
5660
'request_uri' => '',
57-
'request_args' => [],
61+
'request_args' => [
62+
'body' => [
63+
'credentials' => [
64+
'wpr_email' => '[email protected]',
65+
'wpr_key' => 'xxxxxx',
66+
],
67+
],
68+
],
5869
'response' => null,
5970
'is_wp_error' => false,
6071
],
@@ -76,6 +87,10 @@
7687
'method' => 'GET',
7788
'body' => [
7889
'email' => '[email protected]',
90+
'credentials' => [
91+
'wpr_email' => '[email protected]',
92+
'wpr_key' => 'xxxxxx',
93+
],
7994
],
8095
'timeout' => 15,
8196
],
@@ -106,6 +121,10 @@
106121
'method' => 'GET',
107122
'body' => [
108123
'email' => '[email protected]',
124+
'credentials' => [
125+
'wpr_email' => '[email protected]',
126+
'wpr_key' => 'xxxxxx',
127+
],
109128
],
110129
'timeout' => 15,
111130
],
@@ -136,6 +155,10 @@
136155
'method' => 'GET',
137156
'body' => [
138157
'email' => '[email protected]',
158+
'credentials' => [
159+
'wpr_email' => '[email protected]',
160+
'wpr_key' => 'xxxxxx',
161+
],
139162
],
140163
'timeout' => 15,
141164
],
@@ -170,6 +193,10 @@
170193
'body' => [
171194
'email' => '[email protected]',
172195
'global_score' => 65,
196+
'credentials' => [
197+
'wpr_email' => '[email protected]',
198+
'wpr_key' => 'xxxxxx',
199+
],
173200
],
174201
'timeout' => 15,
175202
],

0 commit comments

Comments
 (0)