Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
fix: tests and improvements on ui
Paulo Castellano69af2d0b4bd7
diff --git a/resources/js/pages/posts/Edit.vue b/resources/js/pages/posts/Edit.vueindex 2de867be5..b0d314dc0 100644--- a/resources/js/pages/posts/Edit.vue+++ b/resources/js/pages/posts/Edit.vue@@ -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"diff --git a/tests/Feature/Controllers/MediaControllerTest.php b/tests/Feature/Controllers/MediaControllerTest.phpindex 4bcb48d08..2cea97af5 100644--- a/tests/Feature/Controllers/MediaControllerTest.php+++ b/tests/Feature/Controllers/MediaControllerTest.php@@ -29,7 +29,7 @@ test('user can upload media to workspace', function () {$response = $this->actingAs($this->user)->postJson(route('medias.store'), ['media' => $file,- 'model' => 'App\Models\Workspace',+ 'model' => 'workspace','model_id' => $this->workspace->id,'collection' => 'logo',]);diff --git a/tests/Feature/MediaControllerTest.php b/tests/Feature/MediaControllerTest.phpindex 7b157ecb8..2ef3fd926 100644--- a/tests/Feature/MediaControllerTest.php+++ b/tests/Feature/MediaControllerTest.php@@ -40,7 +40,7 @@ test('store media requires authentication', function () {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'),]);