diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-08 21:41:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-08 21:41:54 +0000 |
commit | 55382d04a7438210bef7252dec960b3e8a00c263 (patch) | |
tree | 08e578ca6d4068a61c1bb44a193418e50a9c0ddf /modules/simpletest/tests | |
parent | 372846e1dcac8f28ce0ace61c0e7da3993f23cef (diff) | |
download | brdo-55382d04a7438210bef7252dec960b3e8a00c263.tar.gz brdo-55382d04a7438210bef7252dec960b3e8a00c263.tar.bz2 |
- Patch #318016 by Dave Reid: step one to standardizing type-hinting.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r-- | modules/simpletest/tests/cache.test | 2 | ||||
-rw-r--r-- | modules/simpletest/tests/registry.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/cache.test b/modules/simpletest/tests/cache.test index 61acfa8e6..368947143 100644 --- a/modules/simpletest/tests/cache.test +++ b/modules/simpletest/tests/cache.test @@ -142,7 +142,7 @@ class CacheSavingCase extends CacheTestCase { * Test the saving and restoring of an object. */ function testObject() { - $test_object = new StdClass(); + $test_object = new stdClass(); $test_object->test1 = $this->randomName('100'); $test_object->test2 = 100; $test_object->test3 = array('drupal1', 'drupal2' => 'drupal3', 'drupal4' => array('drupal5', 'drupal6')); diff --git a/modules/simpletest/tests/registry.test b/modules/simpletest/tests/registry.test index 82d33b51b..e8abd231b 100644 --- a/modules/simpletest/tests/registry.test +++ b/modules/simpletest/tests/registry.test @@ -64,7 +64,7 @@ class RegistryParseFilesTestCase extends DrupalWebTestCase { // Create files with some php to parse - one 'new', one 'existing' so // we test all the important code paths in _registry_parse_files. foreach ($this->fileTypes as $fileType) { - $this->$fileType = new StdClass(); + $this->$fileType = new stdClass(); $this->$fileType->fileName = file_directory_path() . '/registry_test_' . md5(rand()); $this->$fileType->functionName = 'registry_test_function' . md5(rand()); $this->$fileType->className = 'registry_test_class' . md5(rand()); |