From d0f68cf1c6692283768b3926e4968bb57f176cc0 Mon Sep 17 00:00:00 2001 From: Nic D Date: Thu, 5 Feb 2026 13:24:27 -0500 Subject: [PATCH 1/2] fix(auth): change logout behavior, now sends success code when logout request processed --- .../authentication/controllers/auth.controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/identity-and-account/authentication/controllers/auth.controller.ts b/src/identity-and-account/authentication/controllers/auth.controller.ts index 31e5f81..7abcba6 100644 --- a/src/identity-and-account/authentication/controllers/auth.controller.ts +++ b/src/identity-and-account/authentication/controllers/auth.controller.ts @@ -43,6 +43,8 @@ export class AuthController { response.clearCookie('connect.sid', { path: '/', }); + + response.sendStatus(200); }) } } From 6d96311d9840e9ff2a696affef2287cdb6f5bf7c Mon Sep 17 00:00:00 2001 From: Nic D Date: Thu, 5 Feb 2026 15:00:52 -0500 Subject: [PATCH 2/2] refactor(e2e): remove old e2e workflow, no longer up to date, will need to create new one later(never?) --- .github/workflows/e2e.yml | 33 ------------------- .../paid-time-off/REST.test.http | 1 + 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 .github/workflows/e2e.yml create mode 100644 src/time-and-attendance/paid-time-off/REST.test.http diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml deleted file mode 100644 index d1ccb54..0000000 --- a/.github/workflows/e2e.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: e2e -on: - push: - branches: [main] - pull_request: - -jobs: - e2e: - runs-on: ubuntu-latest - services: - postgres: - image: postgres:16 - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - POSTGRES_DB: dev # ou test - ports: ["5432:5432"] - options: >- - --health-cmd="pg_isready -U postgres -d dev" - --health-interval=5s - --health-timeout=5s - --health-retries=20 - env: - DATABASE_URL: postgresql://postgres:postgres@localhost:5432/dev?schema=public - TZ: UTC - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: { node-version: '18' } - - run: npm ci - - run: npx prisma migrate deploy - - run: npm run seed:all - - run: npm run test:e2e:ci diff --git a/src/time-and-attendance/paid-time-off/REST.test.http b/src/time-and-attendance/paid-time-off/REST.test.http new file mode 100644 index 0000000..ecd228c --- /dev/null +++ b/src/time-and-attendance/paid-time-off/REST.test.http @@ -0,0 +1 @@ +GET http://localhost:3000/paid-time-off/totals \ No newline at end of file