feat(auth): integrate TenantService to include tenant code in registration payload
This commit is contained in:
@@ -50,8 +50,8 @@ describe('RegisterPageComponent', () => {
|
||||
component.form.setValue({
|
||||
nombre_apellido: 'Ada Lovelace',
|
||||
email: 'ada@example.com',
|
||||
password: 'secret123',
|
||||
password_confirmation: 'secret123'
|
||||
password: 'Secret!123',
|
||||
password_confirmation: 'Secret!123'
|
||||
});
|
||||
|
||||
component.onSubmit();
|
||||
@@ -59,8 +59,8 @@ describe('RegisterPageComponent', () => {
|
||||
expect(authService.register).toHaveBeenCalledWith({
|
||||
nombre_apellido: 'Ada Lovelace',
|
||||
email: 'ada@example.com',
|
||||
password: 'secret123',
|
||||
password_confirmation: 'secret123'
|
||||
password: 'Secret!123',
|
||||
password_confirmation: 'Secret!123'
|
||||
});
|
||||
expect(modalService.openSimple).toHaveBeenCalledWith({
|
||||
content: 'Tu cuenta fue creada correctamente',
|
||||
@@ -178,8 +178,8 @@ describe('RegisterPageComponent', () => {
|
||||
component.form.setValue({
|
||||
nombre_apellido: 'Ada Lovelace',
|
||||
email: 'ada@example.com',
|
||||
password: 'secret123',
|
||||
password_confirmation: 'secret123'
|
||||
password: 'Secret!123',
|
||||
password_confirmation: 'Secret!123'
|
||||
});
|
||||
component.onSubmit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user