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

Small Http\Response tests delivery #14603

Merged
merged 21 commits into from
Dec 8, 2019
Merged

Small Http\Response tests delivery #14603

merged 21 commits into from
Dec 8, 2019

Conversation

jenovateurs
Copy link
Contributor

@jenovateurs jenovateurs commented Dec 8, 2019

Hello!

I did some tests, some merges with old ones and I hope it's OK.
Here are the new tests for Http\Response:

  • construct()
  • get/setContent()
  • get/setStatusCode()
  • get/setHeaders()
  • getReasonPhrase()
  • get/setCookies() -> Like I said in [BUG]: Http\Response can't setCookies #14602, I've had trouble with Cookies which do not exist.
  • isSent()
  • setExpires()
  • get/setHeaders()
  • setLastModified()
  • setJsonContent()

Thanks for your review and comments :-).

@niden niden added 4.0 labels Dec 8, 2019
@niden niden merged commit 814efea into phalcon:4.0.x Dec 8, 2019
@niden
Copy link
Member

niden commented Dec 8, 2019

Thank you @jenovateurs

@niden niden added the bug A bug report label Dec 23, 2019
@niden niden added status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants