Remove low-value service delegation tests
This commit is contained in:
@@ -33,22 +33,6 @@ class TenantServiceTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function testListDelegatesToRepository(): void
|
||||
{
|
||||
$expected = [
|
||||
['id' => 1, 'description' => 'Tenant A'],
|
||||
['id' => 2, 'description' => 'Tenant B'],
|
||||
];
|
||||
|
||||
$this->tenantRepository->expects($this->once())
|
||||
->method('list')
|
||||
->willReturn($expected);
|
||||
|
||||
$result = $this->service->list();
|
||||
|
||||
self::assertSame($expected, $result);
|
||||
}
|
||||
|
||||
public function testCreateFromAdminSucceeds(): void
|
||||
{
|
||||
$input = $this->validInput();
|
||||
|
||||
Reference in New Issue
Block a user