From 19f7cc9e9243c8ce4f3a5cba2c6fc286b1e32f38 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 17 Jan 2018 13:42:02 +0100 Subject: Make Update notficiations strict and fix all inspections Signed-off-by: Joas Schilling --- apps/updatenotification/tests/UpdateCheckerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/updatenotification/tests/UpdateCheckerTest.php') diff --git a/apps/updatenotification/tests/UpdateCheckerTest.php b/apps/updatenotification/tests/UpdateCheckerTest.php index f7ed83047a6..5502e1ce8ac 100644 --- a/apps/updatenotification/tests/UpdateCheckerTest.php +++ b/apps/updatenotification/tests/UpdateCheckerTest.php @@ -1,4 +1,5 @@ updater = $this->getMockBuilder('\OC\Updater\VersionCheck') - ->disableOriginalConstructor()->getMock(); + $this->updater = $this->createMock(VersionCheck::class); $this->updateChecker = new UpdateChecker($this->updater); } -- cgit v1.2.3