1
0
Fork 0

Set references index complete in tests

pull/255/head
Felix Becker 2017-01-24 20:58:01 +01:00
parent cede993305
commit 4ce57811f8
1 changed files with 1 additions and 0 deletions

View File

@ -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);