Skip to content

Commit

Permalink
Fixed compatibility with dev Nette
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Jul 27, 2014
1 parent 53edd8e commit e191401
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/KdybyTests/Console/InputErrors.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Tester\ApplicationTester;
use Tester;
use Tester\Assert;
use Tracy;
use Tracy\Debugger;


Expand Down Expand Up @@ -201,7 +202,7 @@ class ConsoleListener extends Nette\Object implements Kdyby\Events\Subscriber



class TestLogger
class TestLogger extends Tracy\Logger
{

public $messages = array();
Expand All @@ -215,10 +216,10 @@ class TestLogger



public function log($message)
public function log($value, $priority = 'info')
{
$this->messages[] = func_get_args();
Assert::match($this->pattern, $message[1]);
Assert::match($this->pattern, $value[1]);
}
}

Expand Down

0 comments on commit e191401

Please sign in to comment.