From cda5d0bdad807f862d37a8ce599df78d7ac08297 Mon Sep 17 00:00:00 2001 From: fdai7207 Date: Thu, 2 Feb 2023 19:24:58 +0100 Subject: [PATCH] merge the feature/show-general-info-employee functions with feature/the-main-menu. --- src/employeeLogin.c | 2 ++ test/support/.gitkeep | 0 {test => tests}/test_employeeLogin.c | 0 {test => tests}/test_mainMenu.c | 0 4 files changed, 2 insertions(+) delete mode 100644 test/support/.gitkeep rename {test => tests}/test_employeeLogin.c (100%) rename {test => tests}/test_mainMenu.c (100%) diff --git a/src/employeeLogin.c b/src/employeeLogin.c index 3182746..a27e71d 100644 --- a/src/employeeLogin.c +++ b/src/employeeLogin.c @@ -1,5 +1,6 @@ #include "mainMenu.h" #include "employeeLogin.h" +#include "showGeneralInfoEmployee.c" bool employeesAccess(char* employeesAccessCode) { @@ -115,6 +116,7 @@ void loginAsEmployee() else { printf("\n\nUser Approved\n\n"); + showGeneralInfoEmployee(username, password); break; } } diff --git a/test/support/.gitkeep b/test/support/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/test/test_employeeLogin.c b/tests/test_employeeLogin.c similarity index 100% rename from test/test_employeeLogin.c rename to tests/test_employeeLogin.c diff --git a/test/test_mainMenu.c b/tests/test_mainMenu.c similarity index 100% rename from test/test_mainMenu.c rename to tests/test_mainMenu.c