CluPilotCloud/tests/Feature/Admin
nexxo 73dec7f685 Prove ConfirmsPassword resolves its guard, not the ambient default
actingAs()/Livewire::actingAs() call Auth::shouldUse(), which made every
existing test for this trait pass identically whether confirmPassword() asked
for the right guard explicitly or just read whichever guard happened to be
default — reverting the explicit guard() call to a bare auth()->user() passed
the full suite. This test signs the operator in without actingAs and
deliberately decouples the ambient default guard from their session before
calling confirmPassword(), so only the explicit resolution can succeed.
2026-07-28 11:54:13 +02:00
..
AdminConsoleTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
AdminHostRestrictionTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
AdminSettingsTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
ConsoleHostSeparationTest.php Stop the console serving the portal's sign-in page 2026-07-28 11:45:34 +02:00
ConsoleNetworkTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
ConsoleReportsRealDataTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
CustomerRevenueTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
DatacenterTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
HostManagementTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
InstanceAdminAccessTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
MaintenanceTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
OperatorModelTest.php Give the people who run CluPilot a table of their own 2026-07-28 09:20:54 +02:00
PasswordConfirmationGuardTest.php Prove ConfirmsPassword resolves its guard, not the ambient default 2026-07-28 11:54:13 +02:00
PlanAdminTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
ProvisioningActionsTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
RbacMoveTest.php Move the value remap and constraint swap before the delete, and fix the seeder 2026-07-28 11:00:09 +02:00
RbacTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
SecretCipherTest.php Make isUsable() apply the same 32-byte rule encrypter() does 2026-07-28 05:09:09 +02:00
SecretVaultTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
SecretsPageTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
UpdateButtonTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
VpnTest.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00