diff --git a/Tests/FunctionalTest.php b/Tests/FunctionalTest.php
index e15cd90..ec9b8e7 100644
--- a/Tests/FunctionalTest.php
+++ b/Tests/FunctionalTest.php
@@ -38,11 +38,7 @@ public function testFormJavascriptPresent_ifEnabled()
$view = $template->render(['form' => $form->createView()]);
//THEN
- if (TestKernel::VERSION_ID >= 60400) {
- self::assertStringContainsString('', $view);
- } else {
- self::assertStringContainsString('', $view);
- }
+ self::assertStringContainsString('', $view);
self::assertStringContainsString('var recaptchaCallback_form_captcha', $view);
self::assertStringContainsString("document.getElementById('form_captcha').value = token;", $view);
@@ -59,11 +55,7 @@ public function testHyphenConvertedToUnderscore()
$view = $template->render(['form' => $form->createView()]);
//THEN
- if (TestKernel::VERSION_ID >= 60400) {
- self::assertStringContainsString('', $view);
- } else {
- self::assertStringContainsString('', $view);
- }
+ self::assertStringContainsString('', $view);
self::assertStringContainsString('var recaptchaCallback_form_capt_cha', $view);
self::assertStringContainsString("document.getElementById('form_capt-cha').value = token;", $view);
@@ -80,11 +72,7 @@ public function testFormJavascriptAbsent_ifDisabled()
$view = $template->render(['form' => $form->createView()]);
//THEN
- if (TestKernel::VERSION_ID >= 60400) {
- self::assertStringContainsString('', $view);
- } else {
- self::assertStringContainsString('', $view);
- }
+ self::assertStringContainsString('', $view);
self::assertStringNotContainsString("document.getElementById('form_captcha').value = token;", $view);
}
@@ -205,11 +193,7 @@ public function testFormJavascriptNoncePresent_ifSet()
$view = $template->render(['form' => $form->createView()]);
//THEN
- if (TestKernel::VERSION_ID >= 60400) {
- self::assertStringContainsString('', $view);
- } else {
- self::assertStringContainsString('', $view);
- }
+ self::assertStringContainsString('', $view);
self::assertStringContainsString('', $view);
self::assertStringContainsString('var recaptchaCallback_form_captcha', $view);