Skip to content

Commit 0313130

Browse files
Add validation tests
1 parent e425a2d commit 0313130

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/phpbu/Configuration/Loader/XmlTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ public function testAppSettings()
154154
$loader = new Xml($dir . '/' . $file, $this->getBootstrapperMock(true));
155155
$config = $loader->getConfiguration(self::$factory);
156156

157+
$this->assertFalse($loader->hasValidationErrors());
158+
$this->assertCount(0, $loader->getValidationErrors());
157159
$this->assertEquals($dir . '/backup/bootstrap.php', $config->getBootstrap());
158160
$this->assertEquals(true, $config->getColors());
159161
$this->assertEquals(false, $config->getVerbose());

0 commit comments

Comments
 (0)