diff --git a/tests/Models/Article.php b/tests/Models/Article.php index dd12416..6fc6ceb 100644 --- a/tests/Models/Article.php +++ b/tests/Models/Article.php @@ -16,6 +16,8 @@ class Article extends Model 'public' => 0, ]; + protected $guarded = []; + public static function ssearchFallback($query) { return static::query()->where(function ($q) use ($query) { diff --git a/tests/Models/Author.php b/tests/Models/Author.php index 9594f16..38d1f78 100644 --- a/tests/Models/Author.php +++ b/tests/Models/Author.php @@ -12,6 +12,8 @@ class Author extends Model use SSearch; public $table = 'rapyd_demo_users'; + protected $guarded = []; + public static function ssearchFallback($query) { return static::query()