get('/register'); $response->assertStatus(404); } public function test_registration_post_is_disabled(): void { $response = $this->post('/register', [ 'name' => 'Test User', 'email' => 'test@example.com', 'password' => 'password', 'password_confirmation' => 'password', ]); $response->assertStatus(404); $this->assertGuest(); } }