Implement creator studio and upload updates
This commit is contained in:
@@ -118,11 +118,11 @@ it('renders the studio cards index with user stats and edit endpoints', function
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Studio/StudioCardsIndex')
|
||||
->where('stats.all', 1)
|
||||
->where('stats.drafts', 1)
|
||||
->where('cards.data.0.title', 'My Studio Draft')
|
||||
->where('endpoints.create', route('studio.cards.create'))
|
||||
->where('endpoints.draftStore', route('api.cards.drafts.store')));
|
||||
->where('title', 'Cards')
|
||||
->where('summary.count', 1)
|
||||
->where('summary.draft_count', 1)
|
||||
->where('listing.items.0.title', 'My Studio Draft')
|
||||
->where('publicBrowseUrl', '/cards'));
|
||||
});
|
||||
|
||||
it('renders the create editor with preview mode disabled', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user