Add isSecret field to Event entity for hidden-when-online events
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -144,6 +144,21 @@ class EventTest extends TestCase
|
||||
self::assertSame($event, $result);
|
||||
}
|
||||
|
||||
public function testIsSecretDefaultFalse(): void
|
||||
{
|
||||
$event = new Event();
|
||||
self::assertFalse($event->isSecret());
|
||||
}
|
||||
|
||||
public function testSetAndGetIsSecret(): void
|
||||
{
|
||||
$event = new Event();
|
||||
$result = $event->setIsSecret(true);
|
||||
|
||||
self::assertTrue($event->isSecret());
|
||||
self::assertSame($event, $result);
|
||||
}
|
||||
|
||||
public function testSetEventMainPictureFileNullDoesNotUpdateTimestamp(): void
|
||||
{
|
||||
$event = new Event();
|
||||
|
||||
Reference in New Issue
Block a user