Skip to content

Commit 8b1cee9

Browse files
ci(end to end): Fix test preparation for AppSec
1 parent c67a525 commit 8b1cee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ jobs:
508508
run: |
509509
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}
510510
# Change AppSec fallback
511-
sed -i 's/\x27appsec_fallback_remediationx27 => Constants::REMEDIATION_CAPTCHA/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_BAN/g' scripts/settings.php
511+
sed -i 's/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_CAPTCHA/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_BAN/g' scripts/settings.php
512512
cat scripts/settings.php
513513
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}/tests/end-to-end/
514514
./__scripts__/run-tests.sh ci "./__tests__/9-appsec-timeout-ban.js"
@@ -525,7 +525,7 @@ jobs:
525525
run: |
526526
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}
527527
# Change AppSec fallback
528-
sed -i 's/\x27appsec_fallback_remediationx27 => Constants::REMEDIATION_BAN/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_BYPASS/g' scripts/settings.php
528+
sed -i 's/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_BAN/\x27appsec_fallback_remediation\x27 => Constants::REMEDIATION_BYPASS/g' scripts/settings.php
529529
cat scripts/settings.php
530530
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}/tests/end-to-end/
531531
./__scripts__/run-tests.sh ci "./__tests__/10-appsec-timeout-bypass.js"

0 commit comments

Comments
 (0)