fix: missing category name in factory

This commit is contained in:
2026-05-13 15:25:24 +02:00
parent 17b7fa494b
commit 519e9d0ec7
+5 -2
View File
@@ -15,10 +15,13 @@ final class CategoryFactory extends PersistentProxyObjectFactory
return Category::class;
}
protected function defaults(string $id = 'test'): array|callable
{
protected function defaults(
string $id = 'test',
string $name = 'Test Category',
): array|callable {
return [
'id' => $id,
'name' => $name,
];
}