BP 583: fixed test for function component
diff --git a/src/app/masterdata-management/components/function/function.component.spec.ts b/src/app/masterdata-management/components/function/function.component.spec.ts
index d60a4bf..7fd4b9b 100644
--- a/src/app/masterdata-management/components/function/function.component.spec.ts
+++ b/src/app/masterdata-management/components/function/function.component.spec.ts
@@ -80,12 +80,12 @@
 
   describe('validateAllFormFields', () => {
     it('should not save the form if there are validation errors', () => {
-      expect(component.saveRegion()).toBeFalsy();
+      expect(component.saveFunction()).toBeFalsy();
     });
 
     it('should save the form if there are no validation errors', () => {
       component.form.patchValue({ functionName: 'test' });
-      expect(component.saveRegion()).toBeTruthy();
+      expect(component.saveFunction()).toBeTruthy();
     });
   });
 });