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

Fatal Error from sample code #24

Closed
zanematthew opened this issue Feb 16, 2015 · 2 comments
Closed

Fatal Error from sample code #24

zanematthew opened this issue Feb 16, 2015 · 2 comments
Assignees

Comments

@zanematthew
Copy link

Using the example provided in the readme you'll receive a fatal error.

$ phpunit --bootstrap tests/bootstrap.php tests/MyTestClass.php 
PHPUnit 3.7.31 by Sebastian Bergmann.

PHP Fatal error:  Call to undefined function setup_postdata() 
@ayebare ayebare self-assigned this Dec 7, 2015
@ayebare
Copy link

ayebare commented Dec 7, 2015

I tried out all examples on the page they all ran fine for me. Which particular code were you testing and what testing code did you use for it?

@ayebare ayebare closed this as completed Dec 7, 2015
@ayebare ayebare reopened this Dec 7, 2015
@zanematthew
Copy link
Author

I'm not sure at the time, as this is fairly old. So, it seems it should be working now.

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

No branches or pull requests

2 participants