Implement creator studio and upload updates

This commit is contained in:
2026-04-04 10:12:02 +02:00
parent 1da7d3bf88
commit 0b216b7ecd
15107 changed files with 31206 additions and 626514 deletions

View File

@@ -156,11 +156,23 @@ it('published story page renders successfully', function () {
'published_at' => now()->subMinute(),
]);
$this->get(route('stories.show', ['slug' => $story->slug]))
$response = $this->get(route('stories.show', ['slug' => $story->slug]));
$response
->assertOk()
->assertSee('Renderable Story', false)
->assertSee('language-bash', false)
->assertDontSee('{"type":"doc"', false);
$html = $response->getContent();
expect($html)
->toContain('application/ld+json')
->toContain('"Article"')
->toContain('property="og:type" content="article"');
expect(substr_count($html, 'property="og:title"'))->toBe(1);
expect(substr_count($html, '<link rel="canonical"'))->toBe(1);
});
it('creator can publish through story editor api create endpoint', function () {