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
<?php
declare(strict_types=1);
use App\Enums\User\Locale;
use App\Models\User;
use App\Models\Workspace;
test('the app renders in the user locale right after logging in', function () {
$user = User::factory()->create(['locale' => Locale::Japanese]);
$workspace = Workspace::factory()->create([
'account_id' => $user->account_id,
'user_id' => $user->id,
]);
$workspace->members()->attach($user->id, membershipPivot('admin'));
$user->update(['current_workspace_id' => $workspace->id]);
$page = visit(route('login'));
$page->fill('email', $user->email);
$page->fill('password', 'password');
$page->click('@login-submit');
waitForCondition($page, "location.pathname !== '/login'");
$page->assertSee(__('sidebar.groups.posts', [], 'ja'))
->assertDontSee(__('sidebar.groups.posts', [], 'en'));
});