]> source.dussan.org Git - nextcloud-server.git/commitdiff
TimedJob: make PhpUnit happy with asserts
authorThomas Mueller <thomas.mueller@tmit.eu>
Fri, 28 Jun 2013 11:24:24 +0000 (13:24 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Fri, 28 Jun 2013 11:24:24 +0000 (13:24 +0200)
tests/lib/backgroundjob/timedjob.php

index 0af933afef873adea45a7e3bfb84557ccac433fa..f3c3eb4d0ddbbeddb618c34b73a975ff77631fc3 100644 (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);
        }
 }