fix: tests and improvements on ui
This commit is contained in:
parent
af45d4586f
commit
69af2d0b4b
3 changed files with 3 additions and 3 deletions
|
|
@ -869,7 +869,7 @@ const deletePost = () => {
|
|||
|
||||
<!-- Right Side: Phone Preview -->
|
||||
<div class="w-1/2 bg-muted/30 overflow-y-auto">
|
||||
<div class="flex items-center justify-center min-h-full py-8 px-4">
|
||||
<div class="flex justify-center py-8 px-4">
|
||||
<PhoneMockup>
|
||||
<PlatformPreview :key="activePlatform.id" :platform="activePlatform.platform"
|
||||
:social-account="activePlatform.social_account"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
$response = $this->actingAs($this->user)->postJson(route('medias.store'), [
|
||||
'media' => $file,
|
||||
'model' => 'App\Models\Workspace',
|
||||
'model' => 'workspace',
|
||||
'model_id' => $this->workspace->id,
|
||||
'collection' => 'logo',
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
test('store media uploads file', function () {
|
||||
$response = $this->actingAs($this->user)->post(route('medias.store'), [
|
||||
'model' => 'App\Models\PostPlatform',
|
||||
'model' => 'postPlatform',
|
||||
'model_id' => $this->postPlatform->id,
|
||||
'media' => UploadedFile::fake()->image('test.jpg'),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue