File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 description : Limit concurrent test jobs (auto-detect if omitted)
4242 type : string
4343 required : false
44- default : ' '
44+ default : ' 1 '
4545 repeat :
4646 description : Repeat full component run REPEAT times
4747 type : string
4848 required : false
49- default : ' 10 '
49+ default : ' 50 '
5050 timeout :
5151 description : Per-component timeout in seconds (0 disables)
5252 type : string
Original file line number Diff line number Diff line change @@ -233,17 +233,7 @@ abstract class CIUnitTestCase extends TestCase
233233 public static function setUpBeforeClass (): void
234234 {
235235 parent ::setUpBeforeClass ();
236-
237- // Pre-load MockCodeIgniter and its parent CodeIgniter\CodeIgniter while the
238- // autoloader is still in its bootstrap state. This prevents sporadic
239- // "Class not found" / "Failed to open stream" errors on the first test in a
240- // randomly-ordered run that occur when Composer's PSR-4 fallback uses a
241- // vendor/composer/../../system path that fails to open in some CI environments.
242- // Explicit require_once with SYSTEMPATH bypasses both the classmap and PSR-4
243- // fallback entirely, using the absolute realpath set during bootstrap.
244- require_once SYSTEMPATH . 'CodeIgniter.php ' ;
245- require_once SYSTEMPATH . 'Test/Mock/MockCodeIgniter.php ' ;
246-
236+
247237 helper (['url ' , 'test ' ]);
248238 }
249239
You can’t perform that action at this time.
0 commit comments