Add some tests.

This commit is contained in:
James Cole
2025-08-16 14:52:29 +02:00
parent f04ed5b8f0
commit e7d9dc57d8
12 changed files with 207 additions and 16 deletions

View File

@@ -38,6 +38,7 @@ class BalanceController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
$this->validateUserGroup($request);
$this->repository = app(AccountRepositoryInterface::class);
$this->collector = app(GroupCollectorInterface::class);
$this->repository->setUserGroup($this->userGroup);