Successfully tested create, update and delete of trivial elements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user