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.

686 B
Raw Blame
<?php

declare(strict_types=1);

namespace Tests;

use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
    use CreatesApplication;

    /**
     * Indicates whether the default seeder should run before each test.
     *
     * @var bool
     */
    protected $seed = true;

    /**
     * Whether to fake the Vite manifest. Browser tests drive a real browser and
     * need the built assets, so they opt out via BrowserTestCase.
     */
    protected bool $fakesVite = true;

    protected function setUp(): void
    {
        parent::setUp();

        if ($this->fakesVite) {
            $this->withoutVite();
        }
    }
}