fix(tests): update Docker command for running feature tests without -it flag

- Removed the `-it` flag from the Docker command used to run feature tests, simplifying the command for users.
- Ensured consistency across documentation regarding the execution of database-dependent tests within the Docker container.
This commit is contained in:
Andras Bacsai committed 2025-10-07 20:44:36 +02:00
1 parent b19e8d6a33
commit 5e711fbfeb
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ Coolify employs **comprehensive testing strategies** using modern PHP testing fr
#### Feature Tests (`tests/Feature/`)
- **MAY** use database connections (factories, migrations, models)
- **MUST** run inside Docker container: `docker exec -it coolify php artisan test`
- **MUST** run inside Docker container: `docker exec coolify php artisan test`
- **MUST** use `RefreshDatabase` trait if touching database
- Purpose: Test API endpoints, workflows, and integration scenarios