Skip to content

Commit be4d00c

Browse files
Fin-cCopilot
andcommitted
fix php checks
Co-authored-by: Copilot <copilot@github.com> Assisted-by: GPT-5.6 Terra Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
1 parent 649e637 commit be4d00c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/lib/Teams/TeamFolderTest.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ public function testSerializesFolderIdentity(): void {
1818

1919
$this->assertSame(42, $folder->getId());
2020
$this->assertSame('Engineering', $folder->getMountPoint());
21-
$this->assertSame(['id' => 42, 'mountPoint' => 'Engineering'], $folder->jsonSerialize());
21+
$this->assertNull($folder->getQuota());
22+
$this->assertSame(['id' => 42, 'quota' => null, 'mountPoint' => 'Engineering'], $folder->jsonSerialize());
23+
}
24+
25+
public function testSerializesFolderQuota(): void {
26+
$folder = new TeamFolder(42, 'Engineering', 1024);
27+
28+
$this->assertSame(1024, $folder->getQuota());
29+
$this->assertSame(['id' => 42, 'quota' => 1024, 'mountPoint' => 'Engineering'], $folder->jsonSerialize());
2230
}
2331
}

0 commit comments

Comments
 (0)