diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index 099bbd6..23035ea 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -32,6 +32,8 @@ jobs: - name: Execute Maven build working-directory: backend + env: + OPENROUTESERVICE_API_KEY: ${{ secrets.OPENROUTESERVICE_API_KEY }} run: mvn clean verify -Duser.timezone=Europe/Warsaw - name: Upload build artifacts diff --git a/backend/src/test/resources/application.properties b/backend/src/test/resources/application.properties index 1f8841d..4c4db96 100644 --- a/backend/src/test/resources/application.properties +++ b/backend/src/test/resources/application.properties @@ -7,3 +7,6 @@ spring.datasource.username=test spring.datasource.password=test spring.jpa.hibernate.ddl-auto=create-drop + +JWT_SERVICE_KEY=this_is_a_fake_secret_key_for_testing_purposes_only_make_it_long_enough +JWT_EXPIRATION=86400000