diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-01 12:52:09 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-01 15:23:40 +0100 |
commit | f5a1f4bc1b6338804106e4beac6af5ab2732a947 (patch) | |
tree | 0a9ef3f67aa5299ed97858acecb6ff1a7e0486f5 /tests | |
parent | bfab6ccf1bcce9e778721e7e9e63cc8b315db298 (diff) | |
download | nextcloud-server-f5a1f4bc1b6338804106e4beac6af5ab2732a947.tar.gz nextcloud-server-f5a1f4bc1b6338804106e4beac6af5ab2732a947.zip |
Revert "Wait for cron to finish before running upgrade command"
This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/UpdaterTest.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/lib/UpdaterTest.php b/tests/lib/UpdaterTest.php index 02fea9c3c0a..afc9f9b1f86 100644 --- a/tests/lib/UpdaterTest.php +++ b/tests/lib/UpdaterTest.php @@ -24,7 +24,6 @@ namespace Test; use OC\Installer; use OC\Updater; -use OCP\BackgroundJob\IJobList; use OCP\IConfig; use OCP\ILogger; use OC\IntegrityCheck\Checker; @@ -40,8 +39,6 @@ class UpdaterTest extends TestCase { private $checker; /** @var Installer|\PHPUnit_Framework_MockObject_MockObject */ private $installer; - /** @var IJobList|\PHPUnit_Framework_MockObject_MockObject */ - private $jobList; public function setUp() { parent::setUp(); @@ -57,16 +54,12 @@ class UpdaterTest extends TestCase { $this->installer = $this->getMockBuilder(Installer::class) ->disableOriginalConstructor() ->getMock(); - $this->jobList = $this->getMockBuilder(IJobList::class) - ->disableOriginalConstructor() - ->getMock(); $this->updater = new Updater( $this->config, $this->checker, $this->logger, - $this->installer, - $this->jobList + $this->installer ); } |