File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 20
20
</argument >
21
21
</arguments >
22
22
</type >
23
+ <!--
24
+ We need to proxy the creating of a DateTime object,
25
+ because it tries to talk to the database and we don't want that to happen already when injecting this argument in a constructor,
26
+ it breaks running integration tests for example
27
+ See: https://github.com/baldwin-agency/magento2-module-url-data-integrity-checker/issues/2
28
+ -->
23
29
<type name =" Baldwin\UrlDataIntegrityChecker\Storage\Meta" >
24
30
<arguments >
25
- <argument name =" dateTime" xsi : type =" object" >
26
- \Magento\Framework\Stdlib\DateTime\DateTime\Proxy
27
- </argument >
31
+ <argument name =" dateTime" xsi : type =" object" >\Magento\Framework\Stdlib\DateTime\DateTime\Proxy</argument >
28
32
</arguments >
29
33
</type >
30
34
</config >
You can’t perform that action at this time.
0 commit comments