installed breeze

This commit is contained in:
2024-06-22 02:11:12 +01:00
parent 7fa8e28e1c
commit 50fc714895
65 changed files with 7268 additions and 439 deletions

View File

@@ -0,0 +1,19 @@
<?php
test('registration screen can be rendered', function () {
$response = $this->get('/register');
$response->assertStatus(200);
});
test('new users can register', function () {
$response = $this->post('/register', [
'name' => 'Test User',
'email' => 'test@example.com',
'password' => 'password',
'password_confirmation' => 'password',
]);
$this->assertAuthenticated();
$response->assertRedirect(route('dashboard', absolute: false));
});