Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: ControllerTester double execution
Post: ControllerTester double execution

Hello, if i execute the Code below, then the second execution always execute the created request of the first execution. Hence the second body are ignored. Code: -- $body = json_encode(['foo' =...
318 Views
0 Replies
12-17-2020, 02:46 AM
David Schmucker
    Thread: HTTP Feature Request set body
Post: HTTP Feature Request set body

Hello, I've seen that in HTTP Feature (FeatureTestCase Class) Request it's possible to getJson from the Response. But it's also possible to set a Request body (with JSON for example)? Thanks!
209 Views
0 Replies
12-17-2020, 12:13 AM
David Schmucker
    Thread: No Content-Type Header
Post: No Content-Type Header

The possibility to remove the default Content-Type Header when using the HTTP\Response class.
527 Views
0 Replies
12-16-2020, 03:17 AM
David Schmucker
    Thread: Change Test Database Config
Post: RE: Change Test Database Config

Ouh, i must be blind. Thanks a lot!
451 Views
2 Replies
12-16-2020, 12:12 AM
David Schmucker
    Thread: Change Test Database Config
Post: Change Test Database Config

Hello, i tried to change my Test Database Config within an FeatureTestCase. I've changed the options within .env and Config/Database.php but at the end, during the test, the DBDriver is always S...
451 Views
2 Replies
12-11-2020, 12:59 AM
David Schmucker
    Thread: Prevent Content-Type at Http-Status-Code 204
Post: RE: Prevent Content-Type at Http-Status-Code 204

Yeah, but after removing the Content-Type Header with removeHeader('Content-Type') the default Content-Type Header ('text/html') is set. Unfortunaly it is hardcoded within the HTTP/Response constructo...
869 Views
2 Replies
12-08-2020, 07:23 AM
David Schmucker
    Thread: Prevent Content-Type at Http-Status-Code 204
Post: Prevent Content-Type at Http-Status-Code 204

Hi there, it is possible to prevent/remove the default Content-Type Header when using the HTTP\Response class? The Http-Status-Code 204 (no content) should send without a Content-Type Header. ...
869 Views
2 Replies
12-08-2020, 03:54 AM
David Schmucker

Theme © iAndrew 2016 - Forum software by © MyBB