From 631b72dba4da09d6d672e013b7c1a0c3fed724f3 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 20 Nov 2023 14:37:03 -0300 Subject: [PATCH] Clean code `TestCase.php`. --- tests/TestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 8092bfa..37d8fec 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -30,11 +30,11 @@ protected function mockApplication(): void [ 'id' => 'testapp', 'aliases' => [ - '@bower' => dirname(__DIR__) . '/node_modules', - '@npm' => dirname(__DIR__) . '/node_modules', + '@root' => dirname(__DIR__), + '@bower' => '@root/node_modules', + '@npm' => '@root/node_modules', ], 'basePath' => __DIR__, - 'vendorPath' => dirname(__DIR__) . '/vendor', 'components' => [ 'assetManager' => [ 'basePath' => __DIR__ . '/Support/runtime',