Skip to content

Commit 34e274b

Browse files
committed
chore: resolve test
1 parent 087130f commit 34e274b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/composer-non-major-pr.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ describe('Composer Non-Major PR', () => {
116116

117117
const prBody = await prGenerator.generateBody(composerOnlyGroup)
118118

119-
// Should only have Composer section
120-
expect(prBody).toContain('## 🐘 PHP/Composer Dependencies')
119+
// Single package updates use simplified format - no section header
120+
expect(prBody).not.toContain('## 🐘 PHP/Composer Dependencies')
121+
expect(prBody).toContain('![composer](https://img.shields.io/badge/composer-885630') // Should have composer badge
121122
expect(prBody).toContain('psr/log')
122123

123124
// Should NOT have npm or GitHub Actions sections

0 commit comments

Comments
 (0)