From ad37d8de924208b703a9494bfd685d17b70824c1 Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Tue, 15 Oct 2024 21:42:29 -0500 Subject: [PATCH] Update variable name. --- .../app/auth/register-form/register-form.component.spec.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/auth/register-form/register-form.component.spec.ts b/apps/web/src/app/auth/register-form/register-form.component.spec.ts index 14e58dad4b..0af16b84cc 100644 --- a/apps/web/src/app/auth/register-form/register-form.component.spec.ts +++ b/apps/web/src/app/auth/register-form/register-form.component.spec.ts @@ -36,7 +36,6 @@ import { OrganizationInvite } from "../organization-invite/organization-invite"; import { RegisterFormComponent } from "./register-form.component"; - describe("RegisterFormComponent", () => { let component: RegisterFormComponent; let fixture: ComponentFixture; @@ -248,13 +247,13 @@ describe("RegisterFormComponent", () => { /** * Sets up the password policy test. * - * @param policyMet - Whether the password policy is met. + * @param isPolicyMet - Whether the password policy is met. * @param passwordScore - The score of the password. * @param password - The password to set. * @returns The spy on the submit method. */ - function setupPasswordPolicyTest(policyMet: boolean, passwordScore: number, password: string) { - policyServiceMock.evaluateMasterPassword.mockReturnValue(policyMet); + function setupPasswordPolicyTest(isPolicyMet: boolean, passwordScore: number, password: string) { + policyServiceMock.evaluateMasterPassword.mockReturnValue(isPolicyMet); component.enforcedPolicyOptions = { minLength: 10 } as MasterPasswordPolicyOptions; component.passwordStrengthResult = { score: passwordScore }; component.formGroup.patchValue({ masterPassword: password });