TenantAtlas/tests/Feature/Auth/AdminLoginIsEntraOnlyTest.php
2026-01-27 17:22:33 +01:00

15 lines
406 B
PHP

<?php
declare(strict_types=1);
it('shows only Entra sign-in on /admin/login', function () {
$response = $this->get('/admin/login');
$response->assertSuccessful();
$response->assertSee('Sign in with Microsoft');
$response->assertSee(route('auth.entra.redirect'), false);
$response->assertDontSee('type="password"', false);
$response->assertDontSee('name="password"', false);
});