#!/bin/bash
# Helper script to run Laravel tests in XAMPP Linux environment

# Prepend XAMPP bin path to ensure 'php' is globally resolvable by composer/phpunit binaries
export PATH="/opt/lampp/bin:$PATH"

# Run tests with --without-tty to prevent proc_open(/dev/tty) failure in restricted terminal environments
php artisan test --without-tty "$@"
