feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
use App\Services\ArtworkService;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
use Illuminate\Support\Collection;
|
||||
use Mockery;
|
||||
|
||||
/** Return an empty LengthAwarePaginator with the given path. */
|
||||
function emptyPaginator(string $path = '/'): LengthAwarePaginator
|
||||
@@ -54,6 +54,16 @@ it('home page emits unified SEO tags and structured data', function () {
|
||||
->toContain('WebSite');
|
||||
});
|
||||
|
||||
it('home page exposes digital art in the explore navigation', function () {
|
||||
$html = $this->get('/')
|
||||
->assertStatus(200)
|
||||
->getContent();
|
||||
|
||||
expect($html)
|
||||
->toContain('href="/digital-art"')
|
||||
->toContain('Digital Art');
|
||||
});
|
||||
|
||||
it('home page with ?page=2 renders without errors', function () {
|
||||
// getLatestArtworks() returns a plain Collection (no pagination),
|
||||
// so seoNext/seoPrev for home are always null — but the page must still render cleanly.
|
||||
|
||||
Reference in New Issue
Block a user