it('should not throw an error validating a regular user', async () => {
            const user = {
                active: true,
                type: 'user',
            };