//Remove:
use PHPUnitFrameworkTestCase;
//And replace it with:
use TestsTestCase;
## Do not forget to call parent::setUp(); before.
//fails
public function setUp(): void
{
Config::set('something', true);
}
//works !!!!
public function setUp(): void
{
parent::setUp();
Config::set('something', true);
}
use TestsTestCase;