We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f214e9 commit 227033dCopy full SHA for 227033d
tests/config/console.php
@@ -80,6 +80,9 @@
80
'charset' => 'utf8',
81
'tablePrefix'=>'itt_',
82
],
83
+ 'cache' => [
84
+ 'class' => 'yii\caching\FileCache',
85
+ ],
86
87
];
88
tests/unit/PathAutoCompletionTest.php
@@ -13,9 +13,11 @@ public function testComplete()
13
{
14
Yii::setAlias('@vendor', __DIR__.'/items');
15
$this->prepareTempDir();
16
- Yii::setAlias('@app', __DIR__.'/../specs');
17
Yii::setAlias('@runtime', __DIR__.'/../tmp/app');
18
+ $this->mockRealApplication(); // to register cache component
19
+ Yii::setAlias('@app', __DIR__.'/../specs');
20
+ Yii::setAlias('@webroot', __DIR__.'@app/web');
21
22
$completion = (new PathAutoCompletion())->complete();
23
self::assertNotEmpty($completion);
0 commit comments