Open 3amprogrammer opened 6 years ago
I am using Codeception with Symfony and Doctrine2 modules enabled. I would like to be able to do something like this
$movies = $I->haveMultiple(Movie::class, 15); // haveMultiple uses this library behind the scenes.
However this doesn't work if setters for each property of Movie class are missing.
Codeceptions' method haveInRepository seems to be using reflection to set those properties, but I must specify data explicitly.
haveInRepository
Has this problem already been solved or should I write some custom adapter?
I am using Codeception with Symfony and Doctrine2 modules enabled. I would like to be able to do something like this
However this doesn't work if setters for each property of Movie class are missing.
Codeceptions' method
haveInRepository
seems to be using reflection to set those properties, but I must specify data explicitly.Has this problem already been solved or should I write some custom adapter?