Merge branch 'MDL-64599' of https://github.com/marcusboon/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Feb 2019 11:50:46 +0000 (12:50 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Feb 2019 11:50:46 +0000 (12:50 +0100)
lib/phpunit/classes/arraydataset.php

index c735be4..f91086f 100644 (file)
@@ -58,7 +58,7 @@ class phpunit_ArrayDataSet extends PHPUnit\DbUnit\DataSet\AbstractDataSet {
                 $columns = array_keys($firstrow);
             }
 
-            $metaData = new PHPUnit\DbUnit\DataSet\DefaultTableMetaData($tableName, $columns);
+            $metaData = new PHPUnit\DbUnit\DataSet\DefaultTableMetadata($tableName, $columns);
             $table = new PHPUnit\DbUnit\DataSet\DefaultTable($metaData);
 
             foreach ($rows AS $row) {