diff options
author | Abdul Malik Ikhsan <samsonasik@gmail.com> | 2013-03-31 20:14:39 +0200 |
---|---|---|
committer | Abdul Malik Ikhsan <samsonasik@gmail.com> | 2013-03-31 20:16:22 +0200 |
commit | a8b29ac370a308002bae0850baefc16af642b78e (patch) | |
tree | b21bb3b6f70ec81f5af7b9740f3e3a9f08c963f1 /tests | |
parent | 54e6c1b04a786dc35b2fdeda456685a10f7d2073 (diff) |
fix typo : StdClass should be stdClass
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codeigniter/core/Loader_test.php | 2 | ||||
-rw-r--r-- | tests/mocks/ci_testcase.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/core/Loader_test.php b/tests/codeigniter/core/Loader_test.php index dea01a555..e75d0d564 100644 --- a/tests/codeigniter/core/Loader_test.php +++ b/tests/codeigniter/core/Loader_test.php @@ -220,7 +220,7 @@ class Loader_test extends CI_TestCase { // Test name conflict $obj = 'conflict'; - $this->ci_obj->$obj = new StdClass(); + $this->ci_obj->$obj = new stdClass(); $this->setExpectedException( 'RuntimeException', 'CI Error: The model name you are loading is the name of a resource that is already being used: '.$obj diff --git a/tests/mocks/ci_testcase.php b/tests/mocks/ci_testcase.php index f16492945..ad4fe5ac3 100644 --- a/tests/mocks/ci_testcase.php +++ b/tests/mocks/ci_testcase.php @@ -27,7 +27,7 @@ class CI_TestCase extends PHPUnit_Framework_TestCase { public function __construct() { parent::__construct(); - $this->ci_instance = new StdClass(); + $this->ci_instance = new stdClass(); } // -------------------------------------------------------------------- |