When I check the error inside my unit tests I see this:
Attempt to read property "name" on string
at vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:1179
1175▕ protected function getStorableEnumValue($value)
1176▕ {
1177▕ return $value instanceof BackedEnum
1178▕ ? $value->value
➜ 1179▕ : $value->name;
1180▕ }
Does this mean the enum is seen as a string instead of an actual backed enum?