Code Duplication    Length = 8-8 lines in 2 locations

tests/cli/Configuration/ValidatorTest.php 2 locations

@@ 37-44 (lines=8) @@
34
	 * @expectedException \Jalle19\StatusManager\Exception\InvalidConfigurationException
35
	 * @expectedExceptionMessageRegExp *The database path*
36
	 */
37
	public function testDatabasePath()
38
	{
39
		$configuration                  = $this->getBaseConfiguration();
40
		$configuration['database_path'] = '/tmp/does/not/exist';
41
42
		$validator = new Validator($configuration);
43
		$validator->validate();
44
	}
45
46
47
	/**
@@ 51-58 (lines=8) @@
48
	 * @expectedException \Jalle19\StatusManager\Exception\InvalidConfigurationException
49
	 * @expectedExceptionMessageRegExp *The log path*
50
	 */
51
	public function testLogPath()
52
	{
53
		$configuration             = $this->getBaseConfiguration();
54
		$configuration['log_path'] = '/tmp/does/not/exist';
55
56
		$validator = new Validator($configuration);
57
		$validator->validate();
58
	}
59
60
61
	/**