Implement creator studio and upload updates
This commit is contained in:
12
tests/Feature/LeaderboardPageTest.php
Normal file
12
tests/Feature/LeaderboardPageTest.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
it('leaderboard exposes normalized seo props to inertia', function () {
|
||||
$this->get('/leaderboard')
|
||||
->assertOk()
|
||||
->assertInertia(fn ($page) => $page
|
||||
->component('Leaderboard/LeaderboardPage')
|
||||
->where('seo.title', 'Top Creators & Artworks Leaderboard — Skinbase')
|
||||
->where('seo.description', fn ($value) => is_string($value) && str_contains($value, 'leading creators'))
|
||||
->where('seo.robots', 'index,follow')
|
||||
->where('seo.canonical', url('/leaderboard')));
|
||||
});
|
||||
Reference in New Issue
Block a user