Skip to content

Commit

Permalink
Merge pull request #31 from rebuy-de/fix_phpunit-v6
Browse files Browse the repository at this point in the history
Fix ClassNotFound for PHPUnit > v6
  • Loading branch information
DavertMik authored Jul 12, 2017
2 parents 5d649dd + aa8767c commit 8a17273
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Codeception/function.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
if (!class_exists('PHPUnit_Framework_Assert') && class_exists('PHPUnit\Framework\Assert')) {
class_alias('PHPUnit\Framework\Assert', 'PHPUnit_Framework_Assert');
}

if (!function_exists('verify')) {

/**
Expand Down

0 comments on commit 8a17273

Please sign in to comment.