Where can I find documentation for the WP_UnitTestCase factory classes?
-
07-11-2019 - |
Question
In recent versions WP_UnitTestCase
has included a $factory
property.
For example:
$post = $this->factory->post->create();
Where can I find documentation on this useful feature?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange