Tag: PHPUnit

  • Ajax Unit Tests for WordPress Plugin Development

    The past couple of days I was having a hard time figuring out why my unit tests for AJAX were giving me an error stating Serialization of ‘Closure’ is not allowed. I’ve since fixed it and wanted to post about it because why not. Things I installed: This is the actual test class I was…