mirror of
https://github.com/10h30/Test-Eloquent-Relationships.git
synced 2026-07-11 10:46:13 +09:00
Task 7 - polymorphic
This commit is contained in:
@@ -75,3 +75,11 @@ Test method `test_countries_with_team_size()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 6. Polymorphic Attachments
|
||||
|
||||
In the route `/attachments`, the table should show the filenames and the class names of Task and Comment models. Fix the `app/Models/Attachment.php` relationship to make it work.
|
||||
|
||||
Test method `test_attachments_polymorphic()`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user