From 55382d04a7438210bef7252dec960b3e8a00c263 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 8 Dec 2008 21:41:54 +0000 Subject: - Patch #318016 by Dave Reid: step one to standardizing type-hinting. --- modules/simpletest/tests/cache.test | 2 +- modules/simpletest/tests/registry.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/simpletest/tests') 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()); -- cgit v1.2.3