More tests and 100% coverage achievements!
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!
This commit is contained in:
parent
faaefc1b82
commit
8db383601e
15 changed files with 136 additions and 62 deletions
|
@ -53,7 +53,11 @@ class Config extends Object
|
|||
if (file_exists($filename) && is_file($filename) && is_readable($filename))
|
||||
{
|
||||
require_once $filename;
|
||||
}
|
||||
|
||||
// Checks that we have the config array
|
||||
if (isset($config))
|
||||
{
|
||||
// Determines the environment
|
||||
if (isset($config['environment']))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue