From ca7659d5f4d8b3419df9302339b5f1fc054bcd3a Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Thu, 28 Nov 2024 12:18:35 +0100 Subject: [PATCH] Testing --- .github/workflows/deploy.yml | 1 - .../system.service.spec.ts => app.service.spec.ts} | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) rename api/src/{modules/system/system.service.spec.ts => app.service.spec.ts} (55%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac3a1eb..8ec40ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,6 @@ jobs: docker push ghcr.io/wagnerbastian/keyvault_pro_api:latest build_and_publish_frontend: runs-on: ubuntu-latest - needs: [test_frontend] steps: - uses: actions/checkout@v3 - name: Build and Push Image diff --git a/api/src/modules/system/system.service.spec.ts b/api/src/app.service.spec.ts similarity index 55% rename from api/src/modules/system/system.service.spec.ts rename to api/src/app.service.spec.ts index f78ad0b..0d00252 100644 --- a/api/src/modules/system/system.service.spec.ts +++ b/api/src/app.service.spec.ts @@ -1,15 +1,15 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { SystemService } from './system.service'; +import { AppService } from './app.service'; -describe('SystemService', () => { - let service: SystemService; +describe('AppService', () => { + let service: AppService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ - providers: [SystemService], + providers: [AppService], }).compile(); - service = module.get(SystemService); + service = module.get(AppService); }); it('should be defined', () => {