diff --git a/tests/views_test/lib/Drupal/views_test/Plugin/views/localization/LocalizationTest.php b/tests/views_test/lib/Drupal/views_test/Plugin/views/localization/LocalizationTest.php
index dfbf37252b7df151a0e7999fc7f7e0d056fa8b3a..844bb7e86a325909d8ec45247457d08b95d0adac 100644
--- a/tests/views_test/lib/Drupal/views_test/Plugin/views/localization/LocalizationTest.php
+++ b/tests/views_test/lib/Drupal/views_test/Plugin/views/localization/LocalizationTest.php
@@ -25,7 +25,7 @@ class LocalizationTest extends LocalizationPluginBase {
   /**
    * Store the strings which was translated.
    */
-  var $translated_strings;
+  var $translated_strings = array();
   /**
    * Return the string and take sure that the test can find out whether the
    * string got translated.