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

This commit is contained in:
root
2026-06-25 20:04:18 -04:00
parent e1e38dd8ce
commit 8661615717
15 changed files with 42 additions and 27 deletions
@@ -2,11 +2,12 @@
namespace Tests\Feature\Api\V1\FullSurface;
use PHPUnit\Framework\Attributes\Test;
use Tests\Feature\Api\V1\FullSurface\Support\FullSurfaceE2EContractCase;
class ApiNotificationPreferenceAndOptOutContractTest extends FullSurfaceE2EContractCase
{
/** @test */
#[Test]
public function notification_preference_routes_validate_channels_recipients_and_opt_out_flags(): void
{
$routes = array_slice($this->apiRoutesContainingAny(['notification', 'notify', 'preferences', 'email', 'whatsapp', 'sms']), 0, 90);
@@ -34,7 +35,7 @@ class ApiNotificationPreferenceAndOptOutContractTest extends FullSurfaceE2EContr
}
}
/** @test */
#[Test]
public function low_privilege_users_cannot_broadcast_notifications_to_everyone(): void
{
$routes = $this->apiRoutesContainingAny(['broadcast', 'announcement', 'notify', 'notifications']);