Removes parallel classes.

This commit is contained in:
luke
2021-08-10 11:30:48 +01:00
parent a760470e48
commit ef503646ee
11 changed files with 56 additions and 691 deletions

View File

@ -8,7 +8,7 @@ global $globalHook;
// HACK: we have to determine our $globalHook->calls baseline. This is because
// two other tests are executed before this one due to filename ordering.
$args = $_SERVER['argv'] ?? [];
$single = isset($args[1]) && Str::endsWith(__FILE__, $args[1]) || TestSuite::getInstance()->isInParallel;
$single = (isset($args[1]) && Str::endsWith(__FILE__, $args[1])) || TestSuite::getInstance()->isInParallel;
$offset = $single ? 0 : 2;
uses()->beforeAll(function () use ($globalHook, $offset) {