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

Method getFavorites

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

Source from the content-addressed store, hash-verified

90 public function testUnsetFavoriteHandlesMissingTagNode(): void {
91 $favoriteHandler = new class {
92 public function getFavorites(): array {
93 return [81];
94 }
95
96 public function removeFromFavorites(int $reportId): bool {
97 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