libra/tests/Feature/Auth/RegistrationTest.php

15 lines
362 B
PHP

<?php
use Laravel\Fortify\Features;
test('registration is disabled', function () {
// Registration is disabled per AC 7 - admin creates all accounts
expect(Features::enabled(Features::registration()))->toBeFalse();
});
test('registration route returns 404', function () {
$response = $this->get('/register');
$response->assertNotFound();
});