Skip to content

Commit 0d14a53

Browse files
committed
test: add check for "suggest"
1 parent 228ebb5 commit 0d14a53

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/AutoReview/ComposerJsonTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ public function testFrameworkRequireDevIsTheSameWithDevRequireDev(): void
6767
}
6868
}
6969

70+
public function testFrameworkSuggestIsTheSameWithDevSuggest(): void
71+
{
72+
$this->assertSame(
73+
$this->devComposer['suggest'],
74+
$this->frameworkComposer['suggest'],
75+
'The framework\'s "suggest" section is not updated with the main composer.json.'
76+
);
77+
}
78+
7079
private function getComposerJson(string $path): array
7180
{
7281
try {

0 commit comments

Comments
 (0)