Skip to content

[ci] handle Mercure recipe change #1200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
image: dunglas/mercure
env:
SERVER_NAME: :1337
MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!!ChangeMe!!ChangeMe!!ChangeMe!'
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!!ChangeMe!!ChangeMe!!ChangeMe!'
MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
MERCURE_EXTRA_DIRECTIVES: |
anonymous
cors_origins *
Expand Down
7 changes: 0 additions & 7 deletions tests/Maker/MakeEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -559,13 +559,6 @@ public function getTestDetails(): \Generator
'http://127.0.0.1:1337/.well-known/mercure'
);

// JWT Secrets needs to be at least 256 bits in length
$runner->replaceInFile(
'.env',
'MERCURE_JWT_SECRET="!ChangeMe!"',
'MERCURE_JWT_SECRET="!ChangeMe!!ChangeMe!!ChangeMe!!ChangeMe!"'
);

$runner->runMaker([
// entity class name
'User',
Expand Down