fix test issues
Tests / PHPUnit (push) Failing after 42s

This commit is contained in:
root
2026-07-12 19:16:49 -04:00
parent 55f8027550
commit 84337e8a50
4 changed files with 208 additions and 3 deletions
@@ -40,7 +40,7 @@ class FakeGetRequest extends MockIncomingRequest
}
}
class StubPager
class AssignmentStubPager
{
public function __construct(private readonly int $current, private readonly int $perPage, private readonly int $total)
{
@@ -84,7 +84,7 @@ class StubAssignmentModel
public function paginate(int $perPage, string $group, int $page)
{
$this->pager = new StubPager($this->pagerData['current'], $this->pagerData['perPage'], $this->pagerData['total']);
$this->pager = new AssignmentStubPager($this->pagerData['current'], $this->pagerData['perPage'], $this->pagerData['total']);
return $this->findAllResult;
}