This way of setting up plugin unit tests is deprecated.
Use the wp scaffold plugin-tests command from WP-CLI to create all the needed files automatically.
If you can't use WP-CLI, just copy the files from the sample plugin.
This way of setting up plugin unit tests is deprecated.
Use the wp scaffold plugin-tests command from WP-CLI to create all the needed files automatically.
If you can't use WP-CLI, just copy the files from the sample plugin.