Update to Laravel 12
This commit is contained in:
parent
b30973d0fe
commit
736b0ea831
82 changed files with 683 additions and 720 deletions
|
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use PHPUnit\Framework\Attributes\Test;
|
||||
use Tests\TestCase;
|
||||
use Tests\TestToken;
|
||||
|
||||
|
@ -11,7 +12,7 @@ class CorsHeadersTest extends TestCase
|
|||
{
|
||||
use TestToken;
|
||||
|
||||
/** @test */
|
||||
#[Test]
|
||||
public function checkCorsHeadersOnMediaEndpoint(): void
|
||||
{
|
||||
$response = $this->call(
|
||||
|
@ -25,7 +26,7 @@ class CorsHeadersTest extends TestCase
|
|||
$response->assertHeader('Access-Control-Allow-Origin', '*');
|
||||
}
|
||||
|
||||
/** @test */
|
||||
#[Test]
|
||||
public function checkForNoCorsHeaderOnNonMediaEndpointLinks(): void
|
||||
{
|
||||
$response = $this->get('/blog');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue