TestCase
class TestCase extends TestCase (View source)
Properties
protected string | $url | The base url |
Methods
withHeader(array $headers)
Specify the additionnal who are use in the request
Details
Response
attach(array $attach)
Add attachment
TestCase
withHeader(array $headers)
Specify the additionnal who are use in the request
Response
get(string $url, array $param = [])
Get request
Response
post(string $url, array $param = [])
Post Request
Response
put(string $url, array $param = [])
Put Request
Response
delete(string $url, array $param = [])
Delete Request
Response
patch(string $url, array $param = [])
Patch Request
Response
visit(string $method, string $url, array $params = [])
Initilalize Response action