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