Skip to content

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.

639 B
Raw Blame
<?php

declare(strict_types=1);

use App\Enums\User\Locale;
use App\Enums\User\Persona;

test('persona values are stable', function () {
    expect(array_map(fn (Persona $persona): string => $persona->value, Persona::cases()))
        ->toBe(['creator', 'freelancer', 'developer', 'startup', 'agency', 'small_business', 'marketer', 'online_store', 'other']);
});

test('every persona has a welcome label in every locale', function (string $locale) {
    foreach (Persona::cases() as $persona) {
        $key = "welcome.personas.{$persona->value}";

        expect(__($key, [], $locale))->not->toBe($key);
    }
})->with(Locale::values());