We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f13e4b commit 54cbb64Copy full SHA for 54cbb64
tests/RequestGeneratorTest.php
@@ -14,8 +14,8 @@ public function testCreateRequests()
14
app(RequestsGenerator::class)
15
->setModel('Post')
16
->setRelations(new RelationsDTO(
17
- hasMany: ['User'],
18
- belongsTo: ['Comments'],
+ hasMany: ['Comments'],
+ belongsTo: ['User'],
19
))
20
->setFields([
21
'boolean-required' => ['is_published'],
0 commit comments