Updated mock model to use a public attribute

This commit is contained in:
Joshua Sherman 2014-01-19 14:27:31 -05:00
parent 07d2348dd1
commit dada837300
2 changed files with 3 additions and 3 deletions

View file

@ -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);
} }
} }

View file

@ -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