trypost/tests
Paulo Castellano 3dd4621f57 Limit the $1 first month to a new customer's single workspace
The fixed amount_off coupon only nets $1 for a quantity of one, and the
offer is meant for genuinely new signups. A lapsed account that kept
several workspaces and re-subscribes through onboarding would otherwise
be charged N*price - amount_off (not $1), and a returning customer could
whittle down to one workspace to claim the discount again.

Apply the coupon only when the paid first month is enabled, the account
bills a single workspace, and it has never subscribed before; every other
checkout falls back to allowing promotion codes at the full price.
2026-07-09 15:51:50 -03:00
..
Browser Add frontend unit tests and harden the cropper's test coverage 2026-07-04 09:56:38 -03:00
Feature Fail loud on a missing coupon and block unpaid extra workspaces 2026-07-09 15:37:25 -03:00
fixtures Add frontend unit tests and harden the cropper's test coverage 2026-07-04 09:56:38 -03:00
Unit Limit the $1 first month to a new customer's single workspace 2026-07-09 15:51:50 -03:00
BrowserTestCase.php Address review: cropper mime/zoom/error fixes, harden browser test 2026-07-03 22:07:23 -03:00
CreatesApplication.php feat: Establish a dedicated testing environment with .env.testing, CreatesApplication trait, and Language model factory, integrating language selection into user profile tests and adjusting the languages table migration. 2026-01-18 19:56:04 -03:00
Pest.php Address review: cropper mime/zoom/error fixes, harden browser test 2026-07-03 22:07:23 -03:00
TestCase.php Address review: cropper mime/zoom/error fixes, harden browser test 2026-07-03 22:07:23 -03:00