Skip to content

Commit

Permalink
Fixed tests which does not use Assert from Nette/Tester
Browse files Browse the repository at this point in the history
  • Loading branch information
stekycz committed Aug 18, 2014
1 parent 8a48de5 commit 78c7065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/CronnerTests/Tasks/Task.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class TaskTest extends \TestCase
$method = new Method($this->object, 'test01');
$task = new Task($this->object, $method, $timestampStorage);
$task($now);
Assert::$counter++; // Hack for nette tester
}


Expand Down
1 change: 1 addition & 0 deletions tests/CronnerTests/TimestampStorage/FileStorage.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class FileStorageTest extends \TestCase
$this->storage->setTaskName('Test task 1');
$this->storage->setTaskName(NULL);
$this->storage->setTaskName();
Assert::$counter++; // Hack for nette tester
}


Expand Down

0 comments on commit 78c7065

Please sign in to comment.