Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomSecurityTest.php
Show All 12 Lines | |||||
{ | { | ||||
/** | /** | ||||
* {@inheritDoc} | * {@inheritDoc} | ||||
*/ | */ | ||||
public function setUp(): void | public function setUp(): void | ||||
{ | { | ||||
parent::setUp(); | parent::setUp(); | ||||
$this->clearBetaEntitlements(); | $this->clearMeetEntitlements(); | ||||
$this->assignBetaEntitlement('john@kolab.org', 'meet'); | $this->assignMeetEntitlement('john@kolab.org'); | ||||
$room = Room::where('name', 'john')->first(); | $room = Room::where('name', 'john')->first(); | ||||
$room->setSettings(['password' => null, 'locked' => null]); | $room->setSettings(['password' => null, 'locked' => null]); | ||||
} | } | ||||
public function tearDown(): void | public function tearDown(): void | ||||
{ | { | ||||
$this->clearBetaEntitlements(); | $this->clearMeetEntitlements(); | ||||
$room = Room::where('name', 'john')->first(); | $room = Room::where('name', 'john')->first(); | ||||
$room->setSettings(['password' => null, 'locked' => null]); | $room->setSettings(['password' => null, 'locked' => null]); | ||||
parent::tearDown(); | parent::tearDown(); | ||||
} | } | ||||
/** | /** | ||||
* Test password protected room | * Test password protected room | ||||
▲ Show 20 Lines • Show All 212 Lines • Show Last 20 Lines |