20 lines
557 B
PHP
20 lines
557 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Auth;
|
|
|
|
use Livewire\Volt\Volt;
|
|
|
|
test('registration screen can be rendered', function () {
|
|
$response = $this->get('/register');
|
|
|
|
$response
|
|
->assertOk()
|
|
->assertSeeVolt('pages.auth.register');
|
|
});
|
|
|
|
test('new users can register', function () {
|
|
// Lernschiff does not support self-registration — users require a tenant_id.
|
|
// Registration is handled by school admins. This test is skipped.
|
|
$this->markTestSkipped('Self-registration is not supported in Lernschiff (tenant_id required).');
|
|
});
|