New direction; removed wireguard, readme update

This commit is contained in:
2025-09-07 11:37:52 +01:00
parent 82556535ba
commit a91780d1d5
21 changed files with 102 additions and 5622 deletions

View File

@@ -8,18 +8,18 @@ test('registration screen can be rendered', function () {
$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',
]);
// test('new users can register', function () {
// $response = $this->post('/register', [
// 'name' => 'Test User',
// 'email' => 'test@example.com',
// 'password' => 'password',
// 'password_confirmation' => 'password',
// ]);
$this->assertAuthenticated();
// $this->assertAuthenticated();
assertTrue(auth()->user()->organisations()->count() === 1);
assertTrue(auth()->user()->ownedOrganisations()->count() === 1);
// assertTrue(auth()->user()->organisations()->count() === 1);
// assertTrue(auth()->user()->ownedOrganisations()->count() === 1);
$response->assertRedirect(route('dashboard', absolute: false));
});
// $response->assertRedirect(route('dashboard', absolute: false));
// });