#!/usr/bin/env bash
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT/docker"

docker compose run --rm app sh -lc '
  php artisan test --filter=WalletIdempotencyTest
  php artisan test --filter=WebhookReplayGuardTest
  php artisan test --filter=CashbackIdempotencyTest
  php artisan test --filter=PinRateLimitTest
  php artisan test --filter=PaystackWebhookSignatureTest
  php artisan test --filter=VtpassCatalogSyncTest
'
