We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb123c commit 379d1c6Copy full SHA for 379d1c6
1 file changed
tests/system/Validation/ValidationTest.php
@@ -43,7 +43,10 @@ public function setUp()
43
{
44
parent::setUp();
45
46
+ // Reset all services instances
47
Services::reset();
48
+ // Initialize the Autoloader... - we need it to search for language files in the locator
49
+ Services::autoloader()->initialize(new \Config\Autoload());
50
51
$this->validation = new Validation((object) $this->config, \Config\Services::renderer());
52
$this->validation->reset();
0 commit comments