mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Remove todo
This commit is contained in:
parent
45f5eaac5b
commit
155f5f35cd
|
@ -356,8 +356,6 @@ class AssetFactory extends Factory
|
||||||
|
|
||||||
public function hasEncryptedCustomField(CustomField $field = null)
|
public function hasEncryptedCustomField(CustomField $field = null)
|
||||||
{
|
{
|
||||||
// @todo: update this so existing asset model is used if present on the asset
|
|
||||||
// (may have been created in a test case)
|
|
||||||
return $this->state(function () use ($field) {
|
return $this->state(function () use ($field) {
|
||||||
return [
|
return [
|
||||||
'model_id' => AssetModel::factory()->hasEncryptedCustomField($field),
|
'model_id' => AssetModel::factory()->hasEncryptedCustomField($field),
|
||||||
|
|
Loading…
Reference in a new issue