@@ -60,4 +60,42 @@ protected function setupGogs(): void
6060 }
6161 }
6262 }
63+
64+ // --- Skip tests for unsupported Gogs features ---
65+
66+ // Pull request API
67+ public function testCommentWorkflow (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
68+ public function testGetComment (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
69+ public function testGetPullRequest (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
70+ public function testGetPullRequestWithInvalidNumber (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
71+ public function testGetPullRequestFromBranch (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
72+ public function testGetPullRequestFromBranchNoPR (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
73+ public function testUpdateComment (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
74+ public function testCreateComment (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
75+ public function testWebhookPullRequestEvent (): void { $ this ->markTestSkipped ('Gogs does not support pull request API ' ); }
76+
77+ // Repository by ID
78+ public function testGetRepositoryName (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
79+ public function testGetRepositoryNameWithInvalidId (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
80+ public function testGetOwnerName (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
81+ public function testGetOwnerNameWithZeroRepositoryId (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
82+ public function testGetOwnerNameWithoutRepositoryId (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
83+ public function testGetOwnerNameWithInvalidRepositoryId (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
84+ public function testGetOwnerNameWithNullRepositoryId (): void { $ this ->markTestSkipped ('Gogs does not support /repositories/{id} endpoint ' ); }
85+
86+ // Tag creation
87+ public function testCreateTag (): void { $ this ->markTestSkipped ('Gogs does not support tag creation via API ' ); }
88+ public function testGenerateCloneCommandWithTag (): void { $ this ->markTestSkipped ('Gogs does not support tag creation via API ' ); }
89+
90+ // Commit status
91+ public function testUpdateCommitStatus (): void { $ this ->markTestSkipped ('Gogs does not support commit status API ' ); }
92+ public function testUpdateCommitStatusWithInvalidCommit (): void { $ this ->markTestSkipped ('Gogs does not support commit status API ' ); }
93+ public function testUpdateCommitStatusWithNonExistingRepository (): void { $ this ->markTestSkipped ('Gogs does not support commit status API ' ); }
94+
95+ // Repository languages
96+ public function testListRepositoryLanguages (): void { $ this ->markTestSkipped ('Gogs does not support repository languages endpoint ' ); }
97+ public function testListRepositoryLanguagesEmptyRepo (): void { $ this ->markTestSkipped ('Gogs does not support repository languages endpoint ' ); }
98+
99+ // Webhook (missing Fetch dependency)
100+ public function testWebhookPushEvent (): void { $ this ->markTestSkipped ('Gogs webhook test requires request-catcher URL config ' ); }
63101}
0 commit comments