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

Method getFavorites

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

Source from the content-addressed store, hash-verified

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