withBasicAuth($this->davUserEmail, $this->davUserPassword); return $this->call('PROPFIND', '/dav/calendars/' . $this->davUserEmail, [], [], [], $this->transformHeadersToServerVars([])); } public function getDavCalendar(string $calendar): TestResponse { $this->withBasicAuth($this->davUserEmail, $this->davUserPassword); return $this->call('PROPFIND', '/dav/calendars/' . $this->davUserEmail . '/' . $calendar, [], [], [], $this->transformHeadersToServerVars([])); } public function createDavUser(): self { $this->me = User::factory()->create(['email' => $this->davUserEmail, 'password' => Hash::make($this->davUserPassword)]); return $this; } }