Есть 1 тест:
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Elastica\Client;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
final class ServiceListTest extends TestCase
{
/** @var \Elastica\Client */
private $client;
use RefreshDatabase;
public function __construct(?string $name = null, array $data = [], string $dataName = '')
{
parent::__construct($name, $data, $dataName);
$this->client = new Client();
}
public function setUp()
{
parent::setUp(); // TODO: Change the autogenerated stub
}
public function tearDown()
{
parent::tearDown(); // TODO: Change the autogenerated stub
}
/**
* @test
*/
public function easyTest()
{
self::assertTrue(true);
}
}
Он не работает, вернее не проходит, просто висит. Но стоит убрать use RefreshDatabase; то все сразу начинает работать.