1 parent 379d1c6 commit 22cfa20Copy full SHA for 22cfa20
1 file changed
tests/system/View/ParserPluginTest.php
@@ -1,17 +1,22 @@
1
<?php
2
3
-use CodeIgniter\View\Parser;
4
-
5
class ParserPluginTest extends \CIUnitTestCase
6
{
+ /**
+ * @var \CodeIgniter\View\Parser
7
+ */
8
protected $parser;
9
10
+ * @var \CodeIgniter\Validation\Validation
11
12
protected $validator;
13
14
public function setUp()
15
16
parent::setUp();
17
18
\Config\Services::reset();
19
+ \Config\Services::autoloader()->initialize(new \Config\Autoload());
20
$this->parser = \Config\Services::parser();
21
$this->validator = \Config\Services::validation();
22
}
0 commit comments