Closed crynobone closed 4 years ago
In particular Illuminate\Testing\TestResponse.
Illuminate\Testing\TestResponse
Based on my review it would be possible to use TestResponse with browser-kit-testing but the are some differences that we need to manage:
TestResponse
assertResponseOk
TestResponse::assertOk()
assertResponseStatus
TestResponse::assertStatus()
assertRedirectedTo
TestResponse::assertRedirect()
dump()
TestResponse::dump()
There no equivalent to:
assertRedirectedToRoute
assertRedirectedToAction
We can definitely look at this. Feel free to send in a PR if you want.
In particular
Illuminate\Testing\TestResponse
.Based on my review it would be possible to use
TestResponse
with browser-kit-testing but the are some differences that we need to manage:assertResponseOk
is same asTestResponse::assertOk()
assertResponseStatus
is same asTestResponse::assertStatus()
assertRedirectedTo
is similar toTestResponse::assertRedirect()
dump()
return void butTestResponse::dump()
return $this.There no equivalent to:
assertRedirectedToRoute
assertRedirectedToAction