Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

542 B
Raw Blame
<?php

use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;

uses(RefreshDatabase::class);

it('uses sqlite for testing', function () {
    expect(DB::connection()->getDriverName())->toBe('sqlite');
});

it('runs migrations successfully', function () {
    expect(Schema::hasTable('users'))->toBeTrue();
    expect(Schema::hasTable('teams'))->toBeTrue();
    expect(Schema::hasTable('servers'))->toBeTrue();
    expect(Schema::hasTable('applications'))->toBeTrue();
});