Skip to content

Commit 9c856f8

Browse files
authored
fix: add status field to MockRequester response (#467)
1 parent 7ca6470 commit 9c856f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/algolia/integration/mocks/mock_requester.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def send_request(host, method, path, body, headers, timeout, connect_timeout)
2020

2121
Algolia::Http::Response.new(
2222
status: 200,
23-
body: '{"hits": []}',
23+
body: '{"hits": [], "status": "published"}',
2424
headers: {}
2525
)
2626
end

0 commit comments

Comments
 (0)