From dada8373007a5e0799e79737761a1e94cccc85b7 Mon Sep 17 00:00:00 2001 From: Joshua Sherman Date: Sun, 19 Jan 2014 14:27:31 -0500 Subject: [PATCH] Updated mock model to use a public attribute --- tests/classes/ModelTest.php | 4 ++-- tests/classes/SecurityTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/classes/ModelTest.php b/tests/classes/ModelTest.php index fade9f3..7658f6c 100644 --- a/tests/classes/ModelTest.php +++ b/tests/classes/ModelTest.php @@ -289,7 +289,7 @@ class ModelTest extends PHPUnit_Framework_TestCase 'IS NOT' => null, ]); - var_dump($conditions); + //var_dump($conditions); } public function testGenerateConditionsInjectValues() @@ -304,7 +304,7 @@ class ModelTest extends PHPUnit_Framework_TestCase 'IS NOT' => null, ], true); - var_dump($conditions); + //var_dump($conditions); } } diff --git a/tests/classes/SecurityTest.php b/tests/classes/SecurityTest.php index de30480..c36548a 100644 --- a/tests/classes/SecurityTest.php +++ b/tests/classes/SecurityTest.php @@ -2,7 +2,7 @@ class MockUserModel extends Model { - protected $table = 'users'; + public $table = 'users'; } class SecurityTest extends PHPUnit_Framework_TestCase