Skip to content

Commit

Permalink
added skip
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Nov 13, 2009
1 parent add1b26 commit e8dc564
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/ArmChairTestCase.php
Expand Up @@ -16,7 +16,12 @@ class ArmChairTestCase extends PHPUnit_Framework_TestCase

public function setUp()
{
$this->config = parse_ini_file(dirname(__FILE__) . '/test.ini');
$this->config = @parse_ini_file(dirname(__FILE__) . '/test.ini');
if ($this->config === false) {
$this->markTestSkipped(
'This test requires a test.ini file.'
);
}

$server = $this->config['server'] . $this->config['database'];

Expand Down

0 comments on commit e8dc564

Please sign in to comment.