Laravel-Test-Helpers
Laravel-Test-Helpers copied to clipboard
Easier testing in Laravel.
Below is the error I get. ``` 1) PageTest::testPageHasOnePage Mockery\Exception\NoMatchingExpectationException: No matching handler found for page::hasOne("Page", "parent_id"). Either the method was unexpected or its arguments matched no expected argument list...
Is there a way to make an alias for a function? Like $this->assertResponseOk() or whatever function name you have. I can't find it anywhere but if there truly is one...
For me a test with following assertion does not fail: `Assert::arrayHasKey('lorem', array('foo' => 'bar'));` It's not even added to the assertions count. It's just not picked up.
Similar to Issue #11 except with data type BLOB (binary).
I'm having this issue of "Could not calculate correct fixture method." when using the Factory on a table that has a smallInt column. It appears it doesn't know a method...