<?php

namespace Tests\Feature;

use App\Facades\Site;
use Tests\DatabaseTestCase;
use Tests\UserForTenant;

class SiteRepositoryTest extends DatabaseTestCase
{
    use UserForTenant;

    public function testGetSiteUrl()
    {
        tenant()->domains()->update([
            'verified' => true,
        ]);
        $url = Site::url('/foo');

        $this->assertEquals('https://test.localhost/foo', $url);
    }
}
