-
I've got the data object set up as below.
I've got the test written as below. I've stripped everything just to have what's needed for this post, but even the below still return the error.
However, I get the below error.
The code runs as expected when a request comes through. Any hep is greatly appreciated. Versions Also, I've published the config file as well. There is another thread where the same issue has occured, but it doesn't mention any solutions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I've resolved this. |
Beta Was this translation helpful? Give feedback.
I've resolved this.
Turns out, you need to extend from "Tests\TestCase" rather than "PHPUnit\Framework\TestCase".