New direction; removed wireguard, readme update
This commit is contained in:
@@ -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));
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user