mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
tests: add test for models Plugin, Playlist, PlaylistItem
This commit is contained in:
parent
ec862942cd
commit
2ef028527f
5 changed files with 118 additions and 1 deletions
|
|
@ -66,4 +66,9 @@ class User extends Authenticatable // implements MustVerifyEmail
|
|||
{
|
||||
return $this->hasMany(Device::class);
|
||||
}
|
||||
|
||||
public function plugins(): HasMany
|
||||
{
|
||||
return $this->hasMany(Plugin::class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue