Files
opensourcepos/tests/Support
objecttothis 6892bcc279 test(controllers): add ConfigControllerTest and StockLocationsControllerTest
- Rename `ConfigTest` to `ConfigControllerTest` and add bootstrap logic for child tests.
- Introduce `StockLocationsControllerTest` to validate stock location API behavior, including payload validation, creation, renaming, deletion, reordering, and default location assignment.
- Implement `AdminAuthTrait` for streamlined test authentication with customizable permissions and session setup.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-28 16:54:30 +04:00
..