Skip to content

Commit 54cbb64

Browse files
committed
fix:tests
1 parent 6f13e4b commit 54cbb64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/RequestGeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public function testCreateRequests()
1414
app(RequestsGenerator::class)
1515
->setModel('Post')
1616
->setRelations(new RelationsDTO(
17-
hasMany: ['User'],
18-
belongsTo: ['Comments'],
17+
hasMany: ['Comments'],
18+
belongsTo: ['User'],
1919
))
2020
->setFields([
2121
'boolean-required' => ['is_published'],

0 commit comments

Comments
 (0)