$dumper = new YamlReferenceDumper();
- $this->assertContains($this->getConfigurationAsString(), $dumper->dump($configuration));
- $this->markTestIncomplete('The Yaml Dumper currently does not support prototyped arrays');
+ $this->assertEquals($this->getConfigurationAsString(), $dumper->dump($configuration));
}
private function getConfigurationAsString()
# multi-line info text
# which should be indented
child3: ~ # Example: example setting
+ scalar_prototyped: []
parameters:
# Prototype: Parameter name
name: ~
+ connections:
+
+ # Prototype
+ -
+ user: ~
+ pass: ~
+ cms_pages:
+
+ # Prototype
+ page:
+
+ # Prototype
+ locale:
+ title: ~ # Required
+ path: ~ # Required
+ pipou:
+
+ # Prototype
+ name: []
+
EOL;
}
}