I'm following the Plugin Unit Tests guide.
When running phpunit I get the following error:
Warning: require_once(/tmp/wordpress//wp-includes/class-phpmailer.php): failed to open stream: No such file or directory in /tmp/wordpress-tests-lib/includes/mock-mailer.php on line 2
Fatal error: require_once(): Failed opening required '/tmp/wordpress//wp-includes/class-phpmailer.php' (include_path='.:/opt/lampp/lib/php') in /tmp/wordpress-tests-lib/includes/mock-mailer.php on line 2
My /tmp/wordpress directory is empty.
I'm following the Plugin Unit Tests guide.
When running
phpunitI get the following error:My
/tmp/wordpressdirectory is empty.