summaryrefslogtreecommitdiff
path: root/modules/simpletest/src/Tests/PSR4WebTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/src/Tests/PSR4WebTest.php')
-rw-r--r--modules/simpletest/src/Tests/PSR4WebTest.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/simpletest/src/Tests/PSR4WebTest.php b/modules/simpletest/src/Tests/PSR4WebTest.php
new file mode 100644
index 000000000..24c8d8999
--- /dev/null
+++ b/modules/simpletest/src/Tests/PSR4WebTest.php
@@ -0,0 +1,18 @@
+<?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');
+ }
+}