summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-28 13:24:24 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-28 13:24:24 +0200
commit42cb77b9821eb032afce7e1b7f233c9ffcd0be41 (patch)
treeeb98fdf105ac4485163c00a269678171781cd368
parent6127fee5aa012e58c124b00f159afd3d3d95d8ce (diff)
downloadnextcloud-server-42cb77b9821eb032afce7e1b7f233c9ffcd0be41.tar.gz
nextcloud-server-42cb77b9821eb032afce7e1b7f233c9ffcd0be41.zip
TimedJob: make PhpUnit happy with asserts
-rw-r--r--tests/lib/backgroundjob/timedjob.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/backgroundjob/timedjob.php b/tests/lib/backgroundjob/timedjob.php
index 0af933afef8..f3c3eb4d0dd 100644
--- a/tests/lib/backgroundjob/timedjob.php
+++ b/tests/lib/backgroundjob/timedjob.php
@@ -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);
}
}