Closed darrencoutts118 closed 5 months ago
I should also add that this is based on my understanding, and from the examples, on this page https://pestphp.com/docs/configuring-tests
I'm running into the same issue on Pest v2.32.0
and PHP 8.2.15
.
The class P\Tests\ComponentIntegratrionTest
extends AppKit\UI\Tests\TestCase
.
What Happened
I expected that the
$this
variable in the test closure would be bound to the class specified inuses(...)
, however this is not happening.How to Reproduce
Example Test Code
When this is run, I get the following output
Sample Repository
No response
Pest Version
2.28
PHP Version
8.2.9
Operation System
Linux (Github Codespaces)
Notes
No response