major ui updates
This commit is contained in:
+3
-2
@@ -4,6 +4,7 @@ namespace Tests;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\ValidateCsrfToken;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
use Illuminate\Testing\TestResponse;
|
||||
use Laravel\Fortify\Features;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
@@ -25,9 +26,9 @@ abstract class TestCase extends BaseTestCase
|
||||
/**
|
||||
* POST with a real CSRF token for Fortify/web form tests.
|
||||
*
|
||||
* @param array<string, mixed> $data
|
||||
* @param array<string, mixed> $data
|
||||
*/
|
||||
protected function csrfPost(string $uri, array $data = []): \Illuminate\Testing\TestResponse
|
||||
protected function csrfPost(string $uri, array $data = []): TestResponse
|
||||
{
|
||||
$token = 'test-csrf-token';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user