15 lines
406 B
PHP
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);
|
|
});
|