JeffreyWay / Laravel-Test-Helpers

Easier testing in Laravel.
https://packagist.org/packages/way/laravel-test-helpers
217 stars 40 forks source link

Bug fix and extensions on relationships #36

Closed ChrisKanger closed 11 years ago

ChrisKanger commented 11 years ago

I had some problems with the getBoolean() method returning 'false'. I have a tinyint validation rule on my boolean field, all my validate assertions where failing because the Factory was not returning a tinyint.

Next to that i added the support for zero or multiple relationship arguments and made the assertions for morphMany and morphTo.