Skip to content
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

Starting session in CLI mode #89

Closed
enumag opened this issue Apr 23, 2016 · 4 comments
Closed

Starting session in CLI mode #89

enumag opened this issue Apr 23, 2016 · 4 comments

Comments

@enumag
Copy link
Contributor

@enumag enumag commented Apr 23, 2016

My functional tests are currently failing because of

  [PHPUnit_Framework_Exception] Possible problem: you are starting session while already having some data in output buffer. This may not work if the outputted data grows. Try starting the session earlier.

Setting autoStart to true didn't help either because it's ignored in CLI mode. Why is it ignored and how should I fix my tests then?

https://travis-ci.org/Arachne/Forms/builds/125263850

Tried it on localhost as well with the same result.

@enumag

This comment has been minimized.

Copy link
Contributor Author

@enumag enumag commented Apr 23, 2016

Maybe this is the correct fix. Should I send a PR?

@dg

This comment has been minimized.

Copy link
Member

@dg dg commented May 12, 2016

What about not starting session in CLI at all?

@enumag

This comment has been minimized.

Copy link
Contributor Author

@enumag enumag commented Jun 4, 2016

@dg Do you mean "What about not using session in tests at all?" or am I missing something?

@dg dg closed this in 6d7ebe1 Jun 6, 2016
@enumag

This comment has been minimized.

Copy link
Contributor Author

@enumag enumag commented Jun 6, 2016

@dg Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.