Merge branch 'main' of gitea.neatcn.com:gouki/laralog
Build and Deploy / verify (push) Successful in 34s
Build and Deploy / deploy (push) Successful in 40s

Keep media-library covers while adopting sablog /show-{id}.shtml canonical URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-16 19:06:42 +00:00
co-authored by Cursor
23 changed files with 116 additions and 73 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class MarkdownMediaLibraryTest extends TestCase
'cover_media_id' => $media->id,
]);
$this->get('/posts/'.$post->slug.'.shtml')
$this->get('/show-'.$post->id.'.shtml')
->assertOk()
->assertSee((string) $media->url, false)
->assertDontSee('media:'.$media->id, false);