Skip to content

Commit 040b871

Browse files
author
Yael Lorenzo
authored
Update ResponseWithAssertions.php
The situation is the following: $request = Athena::api()->post($this->getUri()); $response = $request->then()->assertThat(); $response->retrieve(); If success this is ok, if not, I cannot reach the status code to retry the request.
1 parent fda74d8 commit 040b871

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Response/Decorator/ResponseWithAssertions.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,12 @@ public function retrieve()
160160
}
161161
return $this->response->retrieve();
162162
}
163+
164+
/**
165+
* @return Response
166+
*/
167+
public function getResponse()
168+
{
169+
return $this->response;
170+
}
163171
}

0 commit comments

Comments
 (0)