Skip to content

Commit 743a5a5

Browse files
authored
Merge pull request #5 from noplanman/hotfix-0.1.1
Correct message output when not in a unit test.
2 parents 9f576ea + f57499c commit 743a5a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BotManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private function handleOutput($output)
193193
{
194194
$this->output .= $output;
195195

196-
if (defined('PHPUNIT_TEST') && PHPUNIT_TEST !== true) {
196+
if (!(defined('PHPUNIT_TEST') && PHPUNIT_TEST === true)) {
197197
echo $output;
198198
}
199199
}

0 commit comments

Comments
 (0)