Also fixed a few minor bugs and reworked Browser class to not use the constant UNIT_TESTING so I could get the class to 100% coverage. Adds a dependency of testing_helpers which I believe is available on Travis CI by default. Up to 75% coverage, w00t w00t!
13 lines
219 B
PHP
13 lines
219 B
PHP
<?php
|
|
|
|
class ConfigTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
public function testConfigProperty()
|
|
{
|
|
$config = new Config();
|
|
|
|
$this->assertTrue(PHPUnit_Framework_Assert::readAttribute($config, 'config'));
|
|
}
|
|
}
|
|
|
|
?>
|