Implement creator studio and upload updates
This commit is contained in:
@@ -362,6 +362,12 @@ it('renders the public card detail page and increments views', function (): void
|
||||
->toContain('Copy link')
|
||||
->toContain('data-card-report');
|
||||
|
||||
expect(substr_count($response->getContent(), 'property="og:title"'))->toBe(1);
|
||||
expect(substr_count($response->getContent(), '<link rel="canonical"'))->toBe(1);
|
||||
expect($response->getContent())
|
||||
->toContain('property="og:image"')
|
||||
->toContain('application/ld+json');
|
||||
|
||||
expect($card->fresh()->views_count)->toBe(8);
|
||||
Event::assertDispatched(NovaCardViewed::class);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user