Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Added unit testing for en_CA provider #862

Merged
merged 3 commits into from
Mar 24, 2016
Merged

Added unit testing for en_CA provider #862

merged 3 commits into from
Mar 24, 2016

Conversation

jremes-foss
Copy link
Contributor

Added test/Faker/Provider/en_CA/AddressTest.php unit test class to test en_CA provider. Unit test class tests province, province abbreviation and post code letters in three assertions:

  1. Variable is not empty
  2. Variable type is a string
  3. Variable matches required RegEx pattern

Thank you.

@fzaninotto fzaninotto merged commit 68c0d74 into fzaninotto:master Mar 24, 2016
@fzaninotto
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants