Skip to content

Add resetFormatsAfterRequest issue test #29

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 3 commits into from
May 15, 2025
Merged
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
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -14,3 +14,9 @@ DATABASE_URL=sqlite:///%kernel.project_dir%/var/test.db3
###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=b406fa29adfd637669a87d0d0e0032139731110641fcf3ac692c3fde392a9566
###< lexik/jwt-authentication-bundle ###
3 changes: 3 additions & 0 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
@@ -55,5 +55,8 @@ jobs:
- name: Load Doctrine fixtures
run: php bin/console doctrine:fixtures:load --quiet

- name: Generate JWT keypair
run: php bin/console lexik:jwt:generate-keypair

- name: Run functional tests
run: vendor/bin/codecept run Functional
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -34,3 +34,7 @@ yarn-error.log
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -24,11 +24,13 @@ Lastly, if you just want to see the module in action and run the tests yourself
```shell
composer update
```
3. Update database schema and load Doctrine fixtures
3. Update database schema, load Doctrine fixtures and generate JWT keypair
```shell
php bin/console doctrine:schema:update --force

php bin/console doctrine:fixtures:load --quiet

php bin/console lexik:jwt:generate-keypair --skip-if-exists
```

Then, go to the project directory and run:
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@
"php": ">=8.2.0",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/symfony": "^4.0",
"doctrine/doctrine-bundle": "^2.11",
"lexik/jwt-authentication-bundle": "^3.1",
"symfony/apache-pack": "^1.0",
"symfony/console": "6.4.*",
"symfony/dotenv": "6.4.*",
@@ -34,6 +36,7 @@
"codeception/module-asserts": "^3.2",
"codeception/module-doctrine": "^3.1",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-rest": "^3.4",
"codeception/module-symfony": "^3.2 | *@dev",
"doctrine/doctrine-fixtures-bundle": "^3.5",
"friendsofphp/php-cs-fixer": "^3.46",
@@ -102,7 +105,8 @@
],
"post-create-project-cmd": [
"@php bin/console doctrine:schema:update --force",
"@php bin/console doctrine:fixtures:load --quiet"
"@php bin/console doctrine:fixtures:load --quiet",
"@php bin/console lexik:jwt:generate-keypair --skip-if-exists"
]
},
"conflict": {
Loading