Refine SEO, uploads, and deploy handling
This commit is contained in:
@@ -63,8 +63,8 @@ it('renders published news across public discovery routes', function (): void {
|
||||
'slug' => 'release',
|
||||
]);
|
||||
$article = publishedNewsArticle($author, $category, [
|
||||
'title' => 'Skinbase Nova Newsroom',
|
||||
'slug' => 'skinbase-nova-newsroom',
|
||||
'title' => 'Skinbase Newsroom',
|
||||
'slug' => 'skinbase-newsroom',
|
||||
]);
|
||||
$article->tags()->sync([$tag->id]);
|
||||
|
||||
@@ -80,29 +80,29 @@ it('renders published news across public discovery routes', function (): void {
|
||||
|
||||
$this->get(route('news.index'))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom')
|
||||
->assertSee('Skinbase Newsroom')
|
||||
->assertDontSee('Hidden Draft');
|
||||
|
||||
$this->get(route('news.show', ['slug' => $article->slug]))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom')
|
||||
->assertSee('Skinbase Newsroom')
|
||||
->assertSee('News Author');
|
||||
|
||||
$this->get(route('news.category', ['slug' => $category->slug]))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom');
|
||||
->assertSee('Skinbase Newsroom');
|
||||
|
||||
$this->get(route('news.tag', ['slug' => $tag->slug]))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom');
|
||||
->assertSee('Skinbase Newsroom');
|
||||
|
||||
$this->get(route('news.archive', ['year' => $article->published_at->year, 'month' => $article->published_at->month]))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom');
|
||||
->assertSee('Skinbase Newsroom');
|
||||
|
||||
$this->get(route('news.author', ['username' => $author->username]))
|
||||
->assertOk()
|
||||
->assertSee('Skinbase Nova Newsroom');
|
||||
->assertSee('Skinbase Newsroom');
|
||||
});
|
||||
|
||||
it('renders a public news article when anonymous sessions are skipped', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user