From 920435b6baad25f6a822268685a217bf147c6bc6 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 16 Oct 2019 09:04:16 +0200 Subject: [PATCH] Use path resolver for bootstrap file detection --- src/Codeception/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Codeception/Configuration.php b/src/Codeception/Configuration.php index 1add6997af..721a851358 100644 --- a/src/Codeception/Configuration.php +++ b/src/Codeception/Configuration.php @@ -275,7 +275,7 @@ public static function loadBootstrap($bootstrap, $path) return; } - $bootstrap = codecept_is_path_absolute($bootstrap) + $bootstrap = \Codeception\Util\PathResolver::isPathAbsolute($bootstrap) ? $bootstrap : rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $bootstrap;