From 4508acfc7a2e9a80e5fbaf7d3e4a7d2f1e23962d Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Tue, 26 May 2026 22:19:49 -0400 Subject: [PATCH 1/7] Force PHPUnit environment to "testing" since Github actions seemed to allow overwriting to local --- phpunit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index 0f8463bb..dca433c6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -21,7 +21,7 @@ - + From ebb03753b91914372f00fe32974522d33e2d6991 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 23:06:35 -0400 Subject: [PATCH 2/7] Bump symfony/html-sanitizer from 7.4.7 to 7.4.13 (#730) Bumps [symfony/html-sanitizer](https://github.com/symfony/html-sanitizer) from 7.4.7 to 7.4.13. - [Release notes](https://github.com/symfony/html-sanitizer/releases) - [Changelog](https://github.com/symfony/html-sanitizer/blob/8.1/CHANGELOG.md) - [Commits](https://github.com/symfony/html-sanitizer/compare/v7.4.7...v7.4.13) --- updated-dependencies: - dependency-name: symfony/html-sanitizer dependency-version: 7.4.13 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 48e475b1..6fcfe2f4 100644 --- a/composer.lock +++ b/composer.lock @@ -8495,16 +8495,16 @@ }, { "name": "symfony/html-sanitizer", - "version": "v7.4.7", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "e4df2abd9391ce3263baa1aea9e993f6da74a3c7" + "reference": "761f6c49dfd103ee08b3cd09ece588b069e18ec9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/e4df2abd9391ce3263baa1aea9e993f6da74a3c7", - "reference": "e4df2abd9391ce3263baa1aea9e993f6da74a3c7", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/761f6c49dfd103ee08b3cd09ece588b069e18ec9", + "reference": "761f6c49dfd103ee08b3cd09ece588b069e18ec9", "shasum": "" }, "require": { @@ -8545,7 +8545,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v7.4.7" + "source": "https://github.com/symfony/html-sanitizer/tree/v7.4.13" }, "funding": [ { @@ -8565,7 +8565,7 @@ "type": "tidelift" } ], - "time": "2026-03-06T13:15:18+00:00" + "time": "2026-05-24T11:20:33+00:00" }, { "name": "symfony/http-foundation", From c41c46095e89e752694ade0b08546f96f1550b74 Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Tue, 16 Jun 2026 12:52:24 -0400 Subject: [PATCH 3/7] Revert PHPUnit.xml change. Set .env.ci to APP_ENV "testing", per #729 conversation --- .env.ci | 4 ++-- phpunit.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.ci b/.env.ci index 52c58631..7fc4792c 100644 --- a/.env.ci +++ b/.env.ci @@ -1,5 +1,5 @@ APP_NAME=HackGreenville -APP_ENV=local +APP_ENV=testing APP_KEY=base64:yKCXZDC0GPzDQ0GmXrG2RY4Q010/t494Auq/yCUXVpA= APP_DEBUG=true FORCE_SSL=false @@ -52,4 +52,4 @@ SLACK_SIGNING_SECRET= SLACK_CLIENT_ID= SLACK_CLIENT_SECRET= -EVENT_DEBUG_LOGGING_ENABLED=1 \ No newline at end of file +EVENT_DEBUG_LOGGING_ENABLED=1 diff --git a/phpunit.xml b/phpunit.xml index dca433c6..0f8463bb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -21,7 +21,7 @@ - + From 75636106ca2fa0d2326bfc509d94967be0710f0a Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:04:52 -0400 Subject: [PATCH 4/7] Update .env.ci and .env.testing and documentation to differentiate their use cases --- .env.ci | 4 ++++ .env.testing | 8 ++++---- .github/workflows/unit-tests.yml | 2 +- CONTRIBUTING.md | 4 +++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.env.ci b/.env.ci index 7fc4792c..0f42aca9 100644 --- a/.env.ci +++ b/.env.ci @@ -1,8 +1,12 @@ +# Used for Github Actions test suite checks running `php artisan test --env=ci` against MySQL + APP_NAME=HackGreenville APP_ENV=testing APP_KEY=base64:yKCXZDC0GPzDQ0GmXrG2RY4Q010/t494Auq/yCUXVpA= APP_DEBUG=true FORCE_SSL=false +APP_URL=http://localhost +LOG_CHANNEL=single DB_CONNECTION=mysql DB_HOST=127.0.0.1 diff --git a/.env.testing b/.env.testing index de294f60..5ab21a64 100644 --- a/.env.testing +++ b/.env.testing @@ -1,11 +1,11 @@ +# Used for fast, local dev test suite checks running `php artisan test` against SQLite + APP_NAME=HackGreenville APP_ENV=local APP_KEY=base64:yKCXZDC0GPzDQ0GmXrG2RY4Q010/t494Auq/yCUXVpA= APP_DEBUG=true -APP_URL=http://localhost - FORCE_SSL=false - +APP_URL=http://localhost LOG_CHANNEL=single DB_CONNECTION=sqlite @@ -52,4 +52,4 @@ SLACK_SIGNING_SECRET= SLACK_CLIENT_ID= SLACK_CLIENT_SECRET= -EVENT_DEBUG_LOGGING_ENABLED=1 \ No newline at end of file +EVENT_DEBUG_LOGGING_ENABLED=1 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3d3c1cd3..4627a155 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -55,4 +55,4 @@ jobs: run: yarn build - name: run tests - run: php artisan test + run: php artisan test --env=ci diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e20d4683..7e0a6d77 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -373,7 +373,9 @@ Telescope is a Laravel Debugging tool that allows you to see all the requests ma # Environment Variables - The sample .env.example OR .env.docker is used as a template for new projects. A .env file must exist based on one of these files, based on how the app is running (Native or Docker) -- The .env.ci and .env.testing are used for their respective tasks. +- The .env.ci and .env.testing are used for: + - _.env.ci_ | Github Actions test suite checks running `php artisan test --env=ci` against MySQL. + - _.env.testing_ | fast, local dev test suite checks running `php artisan test` against SQLite. - Be sure to clear the configuration cache after any changes to .env using `php artisan config:clear && php artisan config:cache` - Additional defaults may be as defined in _config/app.php_ - Debugging can be enabled in development by setting `TELESCOPE_ENABLED=TRUE` in your local `.env` From 6bff72eff31de351e22e6f8495de2786263140d3 Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:11:42 -0400 Subject: [PATCH 5/7] Reword the test suite documentation --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e0a6d77..e692e0f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -373,8 +373,8 @@ Telescope is a Laravel Debugging tool that allows you to see all the requests ma # Environment Variables - The sample .env.example OR .env.docker is used as a template for new projects. A .env file must exist based on one of these files, based on how the app is running (Native or Docker) -- The .env.ci and .env.testing are used for: - - _.env.ci_ | Github Actions test suite checks running `php artisan test --env=ci` against MySQL. +- The .env.ci and .env.testing are used for test suite checks: + - _.env.ci_ | Github Actions running `php artisan test --env=ci` against MySQL. - _.env.testing_ | fast, local dev test suite checks running `php artisan test` against SQLite. - Be sure to clear the configuration cache after any changes to .env using `php artisan config:clear && php artisan config:cache` - Additional defaults may be as defined in _config/app.php_ From 3b92982c30191c287c9e9ba9ad27461806e98891 Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:13:18 -0400 Subject: [PATCH 6/7] Reword the test suite documentation, again. --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e692e0f2..25cc132f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -373,9 +373,9 @@ Telescope is a Laravel Debugging tool that allows you to see all the requests ma # Environment Variables - The sample .env.example OR .env.docker is used as a template for new projects. A .env file must exist based on one of these files, based on how the app is running (Native or Docker) -- The .env.ci and .env.testing are used for test suite checks: - - _.env.ci_ | Github Actions running `php artisan test --env=ci` against MySQL. - - _.env.testing_ | fast, local dev test suite checks running `php artisan test` against SQLite. +- The .env.ci and .env.testing are used for test suite checks for: + - _.env.ci_ | Github Actions running `php artisan test --env=ci` against MySQL in the test container. + - _.env.testing_ | fast, local running `php artisan test` against SQLite on dev. - Be sure to clear the configuration cache after any changes to .env using `php artisan config:clear && php artisan config:cache` - Additional defaults may be as defined in _config/app.php_ - Debugging can be enabled in development by setting `TELESCOPE_ENABLED=TRUE` in your local `.env` From f55127a8c467ca393931eb086e384675f3b7f6e6 Mon Sep 17 00:00:00 2001 From: Jim Ciallella <1777776+allella@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:15:18 -0400 Subject: [PATCH 7/7] Reword the test suite documentation, again, again. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 25cc132f..d0a1f650 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -374,8 +374,8 @@ Telescope is a Laravel Debugging tool that allows you to see all the requests ma - The sample .env.example OR .env.docker is used as a template for new projects. A .env file must exist based on one of these files, based on how the app is running (Native or Docker) - The .env.ci and .env.testing are used for test suite checks for: - - _.env.ci_ | Github Actions running `php artisan test --env=ci` against MySQL in the test container. - - _.env.testing_ | fast, local running `php artisan test` against SQLite on dev. + - _.env.ci_ | Github Actions runs of `php artisan test --env=ci` against MySQL in the test container. + - _.env.testing_ | fast, local runs of `php artisan test` against SQLite on dev. - Be sure to clear the configuration cache after any changes to .env using `php artisan config:clear && php artisan config:cache` - Additional defaults may be as defined in _config/app.php_ - Debugging can be enabled in development by setting `TELESCOPE_ENABLED=TRUE` in your local `.env`