From 55ed237fe594090abfc41172d20e639d29919354 Mon Sep 17 00:00:00 2001 From: Antonio Ramirez Date: Mon, 31 Jul 2017 17:47:59 +0200 Subject: [PATCH] fix vendor location --- tests/_bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index 033599b..90629a6 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -4,7 +4,7 @@ define('YII_ENV', 'test'); defined('YII_DEBUG') or define('YII_DEBUG', true); // Search for autoload, since performance is irrelevant and usability isn't! -$dir = __DIR__ . '/../'; +$dir = __DIR__ . '/..'; while (!file_exists($dir . '/vendor/autoload.php')) { if ($dir == dirname($dir)) { throw new \Exception('Failed to locate autoload.php');