Update PHPUnit test metadata attributes
API CI/CD / Validate (composer + pint) (push) Successful in 2m46s
API CI/CD / Test (PHPUnit) (push) Failing after 3m3s
API CI/CD / Build frontend assets (push) Failing after 5m22s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 2m46s
API CI/CD / Test (PHPUnit) (push) Failing after 3m3s
API CI/CD / Build frontend assets (push) Failing after 5m22s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
|
||||
namespace Tests\Feature\Api\V1\FullSurface;
|
||||
|
||||
use PHPUnit\Framework\Attributes\Test;
|
||||
use Tests\Feature\Api\V1\FullSurface\Support\FullSurfaceE2EContractCase;
|
||||
|
||||
class ApiPublicPrivateCacheSeparationContractTest extends FullSurfaceE2EContractCase
|
||||
{
|
||||
/** @test */
|
||||
#[Test]
|
||||
public function authenticated_private_routes_do_not_emit_public_cache_headers(): void
|
||||
{
|
||||
$privateRoutes = array_slice($this->apiRoutesContainingAny([
|
||||
@@ -29,7 +30,7 @@ class ApiPublicPrivateCacheSeparationContractTest extends FullSurfaceE2EContract
|
||||
}
|
||||
}
|
||||
|
||||
/** @test */
|
||||
#[Test]
|
||||
public function conditional_cache_headers_do_not_bypass_authorization(): void
|
||||
{
|
||||
$routes = array_slice($this->apiRoutesContainingAny(['users', 'students', 'finance', 'attendance', 'dashboard', 'reports']), 0, 70);
|
||||
|
||||
Reference in New Issue
Block a user