Skip to content

Commit 89ede13

Browse files
committed
fix tests
1 parent 5dc55f3 commit 89ede13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/VCS/Adapter/GiteaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ public function testWebhookPullRequestEvent(): void
15421542
$this->vcsAdapter->createFile(static::$owner, $repositoryName, 'feature.txt', 'content', 'Add feature', 'feature-branch');
15431543

15441544
$catcherUrl = System::getEnv('TESTS_GITEA_REQUEST_CATCHER_URL', 'http://request-catcher:5000');
1545-
$this->vcsAdapter->createWebhook(static::$owner, $repositoryName, $catcherUrl . '/webhook', $secret);
1545+
$this->vcsAdapter->createWebhook(static::$owner, $repositoryName, $catcherUrl . '/webhook', $secret, ['pull_request']);
15461546

15471547
// Clear after setup so only PR event will arrive
15481548
$this->deleteLastWebhookRequest();

0 commit comments

Comments
 (0)