Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
falkenhawk committed Nov 23, 2022
1 parent bfc8d19 commit aff89be
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions PHPUnit/Extensions/Database/DataSet/YamlDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ public function __construct($yamlFile, $parser = NULL)
*/
public function addYamlFile($yamlFile)
{
$data = $this->parser->parseYaml($yamlFile);
if (is_string($data)) {
var_dump($data);
}
$data = $this->parser->parseYaml(file_get_contents($yamlFile));

foreach ($data as $tableName => $rows) {
if (!isset($rows)) {
Expand Down

0 comments on commit aff89be

Please sign in to comment.