We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70ecc46 commit 909bb4cCopy full SHA for 909bb4c
1 file changed
tests/bootstrap.php
@@ -2,6 +2,7 @@
2
3
require_once(dirname(dirname(dirname(dirname(__DIR__)))) . '/index.php');
4
5
-// Install TemplateEngineFactory & TemplateEngineProcessWire
6
-$wire->wire('modules')->install('TemplateEngineFactory');
7
-$wire->wire('modules')->install('TemplateEngineProcesswire');
+// Install TemplateEngineFactory & TemplateEngineProcessWire.
+// Note: We use get() instead of install() which will install the modules and call the init() method!
+$wire->wire('modules')->get('TemplateEngineFactory');
8
+$wire->wire('modules')->get('TemplateEngineProcesswire');
0 commit comments