When I execute the phpunit cases for one of the model, I'm getting the error below,
PHP Fatal error: Class 'IntlDateFormatter' not found in /Users/userone/Sites/Magento-CE/vendor/phpunit/phpunit-mock-objects/src/Generator.php on line 1113
This is throwing an error even intl module is installed and
extension=php_intl.dll is enabled in php.ini file.
When using \Magento\Framework\Stdlib\DateTime\TimezoneInterface as constructor argument I'm getting this issue.
How can I fix this error? Thanks in advance...