DB: Added extra query tests, updated db-testing scripts

Also added skipping to avif tests for environments where GD does not
have built-in AVIF support
This commit is contained in:
Dan Brown
2025-11-11 11:23:16 +00:00
parent befc645705
commit 8ab9252f9b
4 changed files with 69 additions and 15 deletions

View File

@@ -67,8 +67,7 @@ class Book extends Entity implements HasDescriptionInterface, HasCoverInterface,
*/
public function chapters(): HasMany
{
return $this->hasMany(Chapter::class)
->where('type', '=', 'chapter');
return $this->hasMany(Chapter::class);
}
/**