mirror of
https://github.com/jbcr/sitemap-plugin.git
synced 2026-03-24 17:02:19 +01:00
26 lines
513 B
PHP
26 lines
513 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\SitemapPlugin\Controller;
|
|
|
|
trait RelativeClientTrait
|
|
{
|
|
/**
|
|
* @beforeClass
|
|
*/
|
|
public static function createSharedKernel()
|
|
{
|
|
static::$sharedKernel = static::createKernel(['debug' => false, 'environment' => 'test_relative']);
|
|
static::$sharedKernel->boot();
|
|
}
|
|
|
|
/**
|
|
* @before
|
|
*/
|
|
public function setUpClient()
|
|
{
|
|
$this->client = static::createClient(['environment' => 'test_relative'], []);
|
|
}
|
|
}
|