You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I read the documentation correctly for haveInRepository:
Alternatively, constructor arguments can be passed by name. Given User constructor signature is __constructor($arg), the example above could be rewritten like this: $I->haveInRepository(User::class, ['arg' => $arg, 'name' => 'davert']);
It should actually instantiate the QueueItem and pass it as the argument into the Process constructor or does it only work with scalar types?
The text was updated successfully, but these errors were encountered:
In test:
Throws exception:
InvalidArgumentException : Constructor parameter "queueItem" missing
If I read the documentation correctly for
haveInRepository
:It should actually instantiate the
QueueItem
and pass it as the argument into theProcess
constructor or does it only work with scalar types?The text was updated successfully, but these errors were encountered: