Commit d29f9463 authored by sun's avatar sun Committed by gdd

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

parent 598cb86d
...@@ -5,10 +5,14 @@ ...@@ -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 { ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment