This module fixes the Dutch(nl_NL) postcode regex in Magento 2. I created a pull request and it got merged, so this module won't be necessary in Magento 2.2.
composer require timpack/magento2-module-fixdutchpostcoderegex
bin/magento setup:upgrade
- Download the zip
- Copy the contents of
src/
toapp/code/Timpack/FixDutchPostCodeRegex/
- Then run
bin/magento setup:upgrade
If you didn't install the module using composer, please copy app/code/Timpack/FixDutchPostCodeRegex/phpunit.timpack.xml
to dev/tests/unit/phpunit.timpack.xml
.
Then run the following:
vendor/bin/phpunit -c dev/tests/unit/phpunit.timpack.xml