| .claude | ||
| app | ||
| docs | ||
| openapi | ||
| public | ||
| system | ||
| tests | ||
| writable | ||
| .cpanel.yml | ||
| .env.sample | ||
| .gitignore | ||
| .htaccess | ||
| bitbucket-pipelines.yml | ||
| ca.pem | ||
| composer.json | ||
| db.md | ||
| enrollment-dashboard.md | ||
| get-client-rm-api.md | ||
| GPA_Endorsement_Batch_v2.0 APIGEE.pdf | ||
| hr-dashboard.md | ||
| icon-192x192.png | ||
| icon-512x512.png | ||
| LICENSE | ||
| manifest.json | ||
| metabase_raw_queries.csv | ||
| nhance_php_queue_server.service | ||
| nhance-ee8d1-e3c5269b1ec7.json | ||
| non_eb_claim_api.md | ||
| noneb.md | ||
| nonebapi.md | ||
| nonebapidocs.md | ||
| package.json | ||
| Papirus-Team-Papirus-Apps-Fusion-icon.512.png | ||
| phpunit.xml.dist | ||
| preload.php | ||
| README.md | ||
| send-mail-individual-employee-ecard-api.md | ||
| service-worker.js | ||
| spark | ||
CodeIgniter 4 Framework
Unit Testing
From command propmt run the following cmds
php vendor/bin/phpunit tests\unit\GridType11PremiumCalculationTest.php
Run speeific method
php vendor/bin/phpunit tests\unit\PremiumCalculationTest.php --filter testPremiumCalculationWithPrimaryRackRateAndAdditionalRackRate
Test Comments
Non-EB Claims API Tests
Run all 4 Non-EB API tests at once:
php vendor/bin/phpunit tests\unit\Api
Run a single test file:
php vendor/bin/phpunit tests\unit\Api\CreateClaimTest.php
php vendor/bin/phpunit tests\unit\Api\ListClaimsTest.php
php vendor/bin/phpunit tests\unit\Api\ClaimHistoryTest.php
php vendor/bin/phpunit tests\unit\Api\UploadRequiredDocTest.php
Run a specific test method:
php vendor/bin/phpunit tests\unit\Api\CreateClaimTest.php --filter testReturns401WhenNoAuth
Run with verbose output (shows each test name):
php vendor/bin/phpunit tests\unit\Api --testdox