Skip to content

Commit 976ff3b

Browse files
committed
phpunit
1 parent 5de2c69 commit 976ff3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/TestingBotTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?php
2+
3+
if (!class_exists('\PHPUnit\Framework\TestCase', true)) {
4+
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
5+
} elseif (!class_exists('\PHPUnit_Framework_TestCase', true)) {
6+
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
7+
}
28

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

0 commit comments

Comments
 (0)