Skip to content

Commit 7aca325

Browse files
committed
Fix test
1 parent 5849520 commit 7aca325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/repo_webhook_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ func Test_WebhookPushDevBranch(t *testing.T) {
395395

396396
// 2. this should not trigger the webhook
397397
testCreateFile(t, session, "user2", "repo1", "master", "test_webhook_push.md", "# a test file for webhook push")
398-
assert.Equal(t, "", triggeredEvent)
399-
assert.Len(t, payloads, 0)
398+
assert.Empty(t, triggeredEvent)
399+
assert.Empty(t, payloads)
400400

401401
// 3. trigger the webhook
402402
testCreateFile(t, session, "user2", "repo1", "develop", "test_webhook_push.md", "# a test file for webhook push")

0 commit comments

Comments
 (0)