Skip to content

Commit 427a59c

Browse files
committed
updated tests
Signed-off-by: bidi47 <bidi@apidemia.com>
1 parent 84e27a4 commit 427a59c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎test/Unit/App/Service/LlmsGeneratorTest.php‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function testWriteOmitsTheCategoryTitleAndBlurbForAnOptionalCategory(): v
199199

200200
$output = $this->writtenOutput();
201201
$this->assertStringContainsString(
202-
'- [JS post](https://example.test/javascript/js-post.md): An excerpt.',
202+
'- [JS post](https://example.test/javascript/js-post.md) *(Javascript)*: An excerpt.',
203203
$output
204204
);
205205
$this->assertStringNotContainsString('## Javascript', $output);
@@ -310,7 +310,10 @@ public function testWriteBuildsTheDocsSectionLinksFromTheBaseUrl(): void
310310
$this->createGenerator(baseUrl: 'https://example.test')->write();
311311

312312
$output = $this->writtenOutput();
313-
$this->assertStringContainsString('[Blog](https://example.test/blog/):', $output);
313+
$this->assertStringContainsString(
314+
'[OSS Package Lifecycle](https://example.test/dotkernel-packages-oss-lifecycle.md):',
315+
$output
316+
);
314317
$this->assertStringContainsString('[Contact](https://example.test/contact/)', $output);
315318
}
316319

0 commit comments

Comments
 (0)