Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Commit

Permalink
fix missing use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Heitz committed Aug 1, 2016
1 parent 8d03d69 commit 00d6222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function before(\Codeception\Event\SuiteEvent $se)
if (false === empty($dataMethod)) {
try {
if (false === is_callable([$testClass, $dataMethod])) {
throw new Exception();
throw new \Exception();
}
$dataProvider = new \PHPUnit_Framework_TestSuite_DataProvider();
$examples = $testClassName::$dataMethod();
Expand Down

0 comments on commit 00d6222

Please sign in to comment.