diff --git a/core/modules/simpletest/src/Tests/IdiotTest.php b/core/modules/simpletest/src/Tests/IdiotTest.php new file mode 100644 index 0000000..4cd7f76 --- /dev/null +++ b/core/modules/simpletest/src/Tests/IdiotTest.php @@ -0,0 +1,29 @@ +drupalGet('user/login'); + $this->assertText('Log in'); + $this->assertText('log in'); + $this->assertText('LOG IN'); + } + +} diff --git a/core/tests/Drupal/FunctionalTests/IdiotTest.php b/core/tests/Drupal/FunctionalTests/IdiotTest.php new file mode 100644 index 0000000..18010fc --- /dev/null +++ b/core/tests/Drupal/FunctionalTests/IdiotTest.php @@ -0,0 +1,32 @@ +drupalGet('user/login'); + $this->assertSession()->pageTextContains('Log in'); + $this->assertSession()->pageTextContains('log in'); + $this->assertSession()->pageTextContains('LOG IN'); + $this->assertText('Log in'); + $this->assertText('log in'); + $this->assertText('LOG IN'); + } + +}