New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API tests stream response in terminal #91
Comments
Can you do something with this type of response in Symfony Connector to prevent it from making an output? |
@Naktibalda not sure since i'm using sendGet() from REST module.
|
REST module calls |
I have try to play with doRequest() but didn't find the way to solve this. |
Same issue, looking for resolution. Thanks, |
This way you will not get streamed response in your terminal.
|
This was also asked in the Symfony repository, and in that thread the how and why is explained very well. Some answers suggest decorating the So, 'Closing as everything is well described here, and that's how things work.' |
The corresponding issue was closed in Symfony, but it should be fixed here. Please reopen this issue. |
Corresponding issue was closed 2 years earlier than this issue. |
Yes, that is a workaround. But the issue is still there. And the issue is with codeception. Do you not want to fix this issue? Should the users of codeception just continue to be surprised that this does not work, search the internet for a soution, and then each have to apply this workaround? I would hope you instead would want to fix this in the codeception code. |
It seems that workaroud requires configuration change in the application, so is it even possible to fix it in Codeception code? Please raise pull request if you can get it working. |
`Codeception PHP Testing Framework v2.4.5
Powered by PHPUnit 7.3.4 by Sebastian Bergmann and contributors.
[1mApi Tests (12) [22m--------------------------------------------------------------------------------------------------------------------------------
Testing api
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to get individual membership renewal link without authentication [32m(0.06s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to get individual membership renewal link [32m(14.70s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to get organization membership renewal link without authentication [32m(0.04s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to get organization membership renewal link [32m(14.35s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to check if organization invoice exists without authentication [32m(0.03s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to check if organization invoice exists [32m(14.25s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to check if individual invoice exists without authentication [32m(0.03s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to check if individual invoice exists [32m(15.56s)[39m
[32;1m✔[39;22m [35;1mInvoiceCest:[39;22m Test try to get customer organization invoice without authentication [32m(0.03s)[39m
%PDF-1.4
1 0 obj
<<
/Title (��)
/Creator (��wkhtmltopdf 0.12.5)
/Producer (��Qt 4.8.7)
/CreationDate (D:20180912115057+02'00')
endobj
3 0 obj
<<
/Type /ExtGState
/SA true
/SM 0.02
/ca 1.0
/CA 1.0
/AIS false
/SMask /None>>
endobj
4 0 obj
[/Pattern /DeviceRGB]
endobj
6 0 obj
<<
/Type /XObject`
The content is huge, this is just one part.
Test is always finished successfully, but this is really annoying output.
The text was updated successfully, but these errors were encountered: