Skip to content

Commit

Permalink
Add entschaedigung to migration data (#1503)
Browse files Browse the repository at this point in the history
* feat: migrate field entschaedigung to the klage

* ci(run-integration-tests): get data direct from strapi api
  • Loading branch information
aaschlote authored Nov 29, 2024
1 parent 3ea6485 commit 8875dbf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
content_checksum: ${{ steps.checksum.outputs.content_checksum }}

run-integration-tests:
needs: [get-content-file]
runs-on: ubuntu-latest
env:
STRAPI_API: "${{ secrets.STRAPI_API }}"
STRAPI_ACCESS_KEY: "${{ secrets.STRAPI_ACCESS_KEY }}"
CMS: STRAPI
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cached-checkout-install
- uses: actions/download-artifact@v4
with:
name: content-file
- run: npm run test:integration

verify-local-e2e:
Expand Down
1 change: 1 addition & 0 deletions app/domains/fluggastrechte/formular/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const fluggastrechtContext = {
ersatzflugLandenZweiStunden: stringOptionalSchema,
ersatzflugStartenZweiStunden: stringOptionalSchema,
ersatzflugLandenVierStunden: stringOptionalSchema,
entschaedigung: stringOptionalSchema,
} as const;

const _contextObject = z.object(fluggastrechtContext).partial();
Expand Down
1 change: 1 addition & 0 deletions app/domains/fluggastrechte/formular/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const fluggastrechtFlow = {
"ersatzflugLandenZweiStunden",
"ersatzflugStartenZweiStunden",
"ersatzflugLandenVierStunden",
"entschaedigung",
],
buttonUrl: "/fluggastrechte/vorabcheck/start",
},
Expand Down

0 comments on commit 8875dbf

Please sign in to comment.