Set references index complete in tests
parent
cede993305
commit
4ce57811f8
|
@ -16,6 +16,7 @@ class GlobalFallbackTest extends ServerTestCase
|
|||
public function setUp()
|
||||
{
|
||||
$projectIndex = new ProjectIndex(new Index, new DependenciesIndex);
|
||||
$projectIndex->setComplete();
|
||||
$definitionResolver = new DefinitionResolver($projectIndex);
|
||||
$client = new LanguageClient(new MockProtocolStream, new MockProtocolStream);
|
||||
$this->documentLoader = new PhpDocumentLoader(new FileSystemContentRetriever, $projectIndex, $definitionResolver);
|
||||
|
|
Loading…
Reference in New Issue