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
@jasonmccreary I was just checking the generated test and, specially in the resource api controllers, there's some missing assertions in some methods.
Also, when using the softDeletes shorthand, the test assertion for the deleted method is:
$this->assertDeleted($model);
Instead of:
$this->assertSoftDeleted($model);
Using this same draft.yaml for both cases by the way.
I know that I should make separeted issues for each of this observations but I'm a little short on time on a project but probably gonna do it next week. Just want to make you notice this in case I forget to write the proper issues.
Description:
When using a custom model namespace, the generated test import models wrong.
Steps To Reproduce:
config/blueprint.php
L:30
)draft.yaml:
The above script will generate, between other things, this test:
The text was updated successfully, but these errors were encountered: