Successfully tested create, update and delete of trivial elements

This commit is contained in:
2019-05-23 17:52:11 +02:00
parent 23941f32d3
commit 8b25925ec4
5 changed files with 40 additions and 5 deletions

View File

@@ -36,9 +36,9 @@ abstract class AbstractCommonClubsModelFactory
public abstract function getAttributes();
private $attributes = null;
private function fetchAttributes()
private function fetchAttributes($force = False)
{
if($this->attributes === null)
if($this->attributes === null || $force)
$this->attributes = $this->getAttributes();
return $this->attributes;