update
This commit is contained in:
@@ -84,6 +84,17 @@ class Category extends MockProxy
|
||||
protected static $mock;
|
||||
|
||||
public $id = null;
|
||||
public $nleft = null;
|
||||
public $nright = null;
|
||||
|
||||
public function __construct($id)
|
||||
{
|
||||
if ($id === 12) {
|
||||
$this->id = 12;
|
||||
$this->nleft = 101;
|
||||
$this->nright = 102;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Group extends MockProxy
|
||||
@@ -127,3 +138,9 @@ class Module extends MockProxy
|
||||
// Redeclare to use this instead MockProxy::mock
|
||||
protected static $mock;
|
||||
}
|
||||
|
||||
class FrontController extends MockProxy
|
||||
{
|
||||
// Redeclare to use this instead MockProxy::mock
|
||||
protected static $mock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user