cakephp-fixture-factories icon indicating copy to clipboard operation
cakephp-fixture-factories copied to clipboard

CakePHP Fixture Factories

Results 21 cakephp-fixture-factories issues
Sort by recently updated
recently updated
newest added

Often little setters are added to a given factory. E.g.: ```php ArticleFactory::make() ->with('Authors', AuthorFactory()->make(10)->published()->active()->with('Address', AddressFactory::make()->verified() ) ) ->getEntity() ``` These setters could be specified in the in string notation of...

enhancement

It could be done dynamically on a 'per test' basis in the setUp method of a phpunit test case Or maybe through a config file. Using this method would seed...

enhancement

I have been running FF test regularly without issue, however, every so often, I all test produce and error with a message that i.e. "Base table or view not found:...

This was the bug at the bottom of a well that I spent many, many days trying to diagnose. ### Description of the problem It appears that if fixture factories...

Remove the test suite light from the require. Require dev the test database cleaner instead.

enhancement

### Description of the problem Console Input Options does not support mixed value anymore. Only string, bool and null. So if you try the command you get the following error:...

## Factory defaults When baking the factory, it by schema knows already required fields. For now it is empty by default, even though maybe 3-4 fields are required: $this->setDefaultData(function (Generator...

When the primary key of a table is text, the data should be a uuid. Ensure that this works also when generating multiple entities with a factory.

enhancement