Skip to content

Commit

Permalink
Fixed reference to ModuleConfigException clas
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Sep 30, 2015
1 parent 291a37e commit 6c8e152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WPLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Codeception\Module;


use Codeception\Exception\ModuleConfig;
use Codeception\Exception\ModuleConfigException;
use Codeception\Module;

/**
Expand Down Expand Up @@ -146,7 +146,7 @@ public function _initialize()

// check that the wordpress path exists
if (!file_exists($this->config['wpRootFolder'])) {
throw new ModuleConfig(__CLASS__, "\nWordpress root folder doesn't exists. Please, check that " . $this->config['wpRootFolder'] . " contains a valid WordPress installation.");
throw new ModuleConfigException(__CLASS__, "\nWordpress root folder doesn't exists. Please, check that " . $this->config['wpRootFolder'] . " contains a valid WordPress installation.");
}

// WordPress will deal with database connection errors
Expand Down

0 comments on commit 6c8e152

Please sign in to comment.