JeffreyWay / Laravel-Test-Helpers

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

Add assertInvalid as syntax sugar #29

Closed BastianHofmann closed 11 years ago

BastianHofmann commented 11 years ago

Hello,

Nicer syntax is often a good thing. The function assertNotValid() sounds and feels a little bit odd. assertInvalid() is a lot smoother, don't you think?

JeffreyWay commented 11 years ago

The thing, though, is that assertNotValid follows the PHPUnit style. I'd rather not change that up.