TimedJob: make PhpUnit happy with asserts

This commit is contained in:
Thomas Mueller 2013-06-28 13:24:24 +02:00
parent 6127fee5aa
commit 42cb77b982
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class TimedJob extends \PHPUnit_Framework_TestCase {
$this->fail("job should have run");
} catch (JobRun $e) {
}
$this->assertTrue(true);
}
public function testShouldNotRunWithinInterval() {
@ -50,6 +51,7 @@ class TimedJob extends \PHPUnit_Framework_TestCase {
} catch (JobRun $e) {
$this->fail("job should not have run");
}
$this->assertTrue(true);
}
public function testShouldNotTwice() {
@ -64,5 +66,6 @@ class TimedJob extends \PHPUnit_Framework_TestCase {
$this->fail("job should not have run the second time");
}
}
$this->assertTrue(true);
}
}