summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2015-05-03 00:06:57 (GMT)
committerhass2015-05-03 00:06:57 (GMT)
commit1bfbcec99b8c44a4ebbf78a50eaeeb21d365ea5a (patch)
treeabfb8948ffa59caa83bad5e198dea15661e3f484
parent7dd41fbd2fa54ab666722c2e77d2944659063507 (diff)
Fix test
-rw-r--r--src/Tests/ReCaptchaBasicTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tests/ReCaptchaBasicTest.php b/src/Tests/ReCaptchaBasicTest.php
index 7505f4e..91db6b8 100644
--- a/src/Tests/ReCaptchaBasicTest.php
+++ b/src/Tests/ReCaptchaBasicTest.php
@@ -142,7 +142,7 @@ class ReCaptchaBasicTest extends WebTestBase {
// Test if the fall back url is properly build and noscript code added.
$this->config('recaptcha.settings')->set('widget.noscript', 1)->save();
$this->drupalGet('user/login');
- $this->assertRaw($grecaptcha . '<noscript>', '[testReCaptchaOnLoginForm]: NoScript for reCAPTCHA is shown on form.');
+ $this->assertRaw($grecaptcha . "\n" . '<noscript>', '[testReCaptchaOnLoginForm]: NoScript for reCAPTCHA is shown on form.');
$this->assertRaw('https://www.google.com/recaptcha/api/fallback?k=' . $site_key . '&amp;hl=' . \Drupal::service('language_manager')->getCurrentLanguage()->getId(), '[testReCaptchaOnLoginForm]: Fallback URL with IFRAME has been found.');
// Try to log in, which should fail.