Skip to content

Commit

Permalink
phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
delabiejochen committed Oct 5, 2017
1 parent 5de2c69 commit 976ff3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/TestingBotTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?php

if (!class_exists('\PHPUnit\Framework\TestCase', true)) {
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
} elseif (!class_exists('\PHPUnit_Framework_TestCase', true)) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}

require_once('src/TestingBot/TestingBotAPI.php');

Expand Down

0 comments on commit 976ff3b

Please sign in to comment.