v2.8.0
What's Changed
use Spiral\Testing\Attribute\TestScope;
use Spiral\Testing\Tests\TestCase;
final class ExampleTest extends TestCase
{
#[TestScope('http')]
public function testIndexAction(): void
{
$response = $this->fakeHttp()->get('/');
$response->assertOk();
}
}
Full Changelog: 2.7.0...2.8.0