diff --git a/tests/lib/SimpleSAML/XML/ParserTest.php b/tests/lib/SimpleSAML/XML/ParserTest.php
index 9470d01f3998216504b2dd69c6a09056f55edcc4..7860d9523285b4a6a2597107b60bb972ab04079f 100644
--- a/tests/lib/SimpleSAML/XML/ParserTest.php
+++ b/tests/lib/SimpleSAML/XML/ParserTest.php
@@ -95,10 +95,10 @@ XML;
     {
         $result = $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Other',
                 '/Root/Value'
-            ], true)
+            ), true)
         ;
 
         $this->assertEquals(
@@ -116,10 +116,10 @@ XML;
     {
         $result = $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Foo',
                 '/Root/Bar'
-            ], false)
+            ), false)
         ;
 
         $this->assertEquals(
@@ -138,10 +138,10 @@ XML;
     {
         $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Foo',
                 '/Root/Bar'
-            ], true)
+            ), true)
         ;
     }
 }