MCPcopy Create free account
hub / github.com/Rello/analytics / getFavorites

Method getFavorites

tests/Service/ReportServiceTest.php:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 public function testUnsetFavoriteHandlesMissingTagNode(): void {
140 $favoriteHandler = new class {
141 public function getFavorites(): array {
142 return [81];
143 }
144
145 public function removeFromFavorites(int $reportId): bool {
146 throw new \OCP\DB\Exception('Failed to unfavorite: node with id ' . $reportId . ' not found');

Callers 7

dashboard.jsFile · 0.80
panorama.jsFile · 0.80
indexMethod · 0.80
getOwnFavoriteReportsMethod · 0.80
indexMethod · 0.80
getOwnFavoriteReportsMethod · 0.80
setFavoriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected