Fix test
parent
ecc3537606
commit
95f60617cf
|
@ -104,13 +104,9 @@ class LanguageServerTest extends TestCase
|
|||
$promise->reject(new Exception($msg->body->params->message));
|
||||
}
|
||||
} else if (strpos($msg->body->params->message, 'All 25 PHP files parsed') !== false) {
|
||||
if ($run === 1) {
|
||||
$run++;
|
||||
} else {
|
||||
$promise->fulfill();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
$server = new LanguageServer($input, $output);
|
||||
$capabilities = new ClientCapabilities;
|
||||
|
|
Loading…
Reference in New Issue