Updated mock model to use a public attribute
This commit is contained in:
parent
07d2348dd1
commit
dada837300
2 changed files with 3 additions and 3 deletions
|
@ -289,7 +289,7 @@ class ModelTest extends PHPUnit_Framework_TestCase
|
||||||
'IS NOT' => null,
|
'IS NOT' => null,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
var_dump($conditions);
|
//var_dump($conditions);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGenerateConditionsInjectValues()
|
public function testGenerateConditionsInjectValues()
|
||||||
|
@ -304,7 +304,7 @@ class ModelTest extends PHPUnit_Framework_TestCase
|
||||||
'IS NOT' => null,
|
'IS NOT' => null,
|
||||||
], true);
|
], true);
|
||||||
|
|
||||||
var_dump($conditions);
|
//var_dump($conditions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
class MockUserModel extends Model
|
class MockUserModel extends Model
|
||||||
{
|
{
|
||||||
protected $table = 'users';
|
public $table = 'users';
|
||||||
}
|
}
|
||||||
|
|
||||||
class SecurityTest extends PHPUnit_Framework_TestCase
|
class SecurityTest extends PHPUnit_Framework_TestCase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue