Fixed tests for PSR-0, registry, and performance.
parent
598cb86d2d
commit
d29f946331
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue