Skip to content

Tests for SimpleRest (SimpleRestTest) #3

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

Open
varunsingh87 opened this issue Nov 1, 2020 · 0 comments
Open

Tests for SimpleRest (SimpleRestTest) #3

varunsingh87 opened this issue Nov 1, 2020 · 0 comments

Comments

@varunsingh87
Copy link
Owner

varunsingh87 commented Nov 1, 2020

The VarunS\BorumSleep\SimpleRest class has its equivalent test class at tests/SimpleRestTest.php in the VarunS\BorumSleep\Tests namespace. Its currently untested methods include those that set HTTP headers, echo output conditionally, and exit the script. I do not know how to test these actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant