Not running test?

There are 1 test:
<?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);
}
}

It doesn't work, rather than simply hanging. But it is necessary to remove use RefreshDatabase; then all at once starts to work.
June 8th 19 at 17:04
0 answer

Find more questions by tags PHPLaravel