Fixed tests for PSR-0, registry, and performance.

8.0.x
sun 2012-02-14 06:27:06 +01:00 committed by Greg Dunlap
parent 598cb86d2d
commit d29f946331
1 changed files with 7 additions and 1 deletions

View File

@ -5,10 +5,14 @@
* Tests for Configuration module. * Tests for Configuration module.
*/ */
use Drupal\Core\Config\SignedFileStorage;
/** /**
* Tests the secure file writer. * Tests the secure file writer.
*/ */
class SecureFileTestCase extends DrupalUnitTestCase { class SecureFileTestCase extends DrupalWebTestCase {
protected $profile = 'testing';
protected $filename = 'foo.bar'; protected $filename = 'foo.bar';
/** /**
@ -89,6 +93,8 @@ class SecureFileTestCase extends DrupalUnitTestCase {
* Tests reading and writing file contents. * Tests reading and writing file contents.
*/ */
class FileContentsTestCase extends DrupalWebTestCase { class FileContentsTestCase extends DrupalWebTestCase {
protected $profile = 'testing';
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Config file content tests', 'name' => 'Config file content tests',