Open DanCosta88 opened 10 years ago
I use this code in my Post Model
public function testBasicFactory() { $post = Factory::attributesFor('Post'); }
and when I run phpunit, I got this error:
PHP Fatal error: Class 'App' not found in /var/www/myproject/vendor/way/laravel-test-helpers/src/Way/Tests/Factory.php on line 65
I use this code in my Post Model
and when I run phpunit, I got this error:
PHP Fatal error: Class 'App' not found in /var/www/myproject/vendor/way/laravel-test-helpers/src/Way/Tests/Factory.php on line 65