feat: ship creator journey v2 and profile updates

This commit is contained in:
2026-04-12 21:42:07 +02:00
parent a2457f4e49
commit d5cff21ea2
335 changed files with 20147 additions and 1545 deletions

View File

@@ -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.