PSR4WebTest.php
Namespace
Drupal\simpletest\TestsFile
-
modules/
simpletest/ src/ Tests/ PSR4WebTest.php
View source
<?php
namespace Drupal\simpletest\Tests;
class PSR4WebTest extends \DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'PSR4 web test',
'description' => 'We want to assert that this PSR-4 test case is being discovered.',
'group' => 'SimpleTest',
);
}
function testArithmetics() {
$this->assert(1 + 1 == 2, '1 + 1 == 2');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
PSR4WebTest |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.