diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php index 43345a3488..b3ff36fc4e 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php @@ -70,7 +70,7 @@ class PluginTest extends TestCase { public function testUnPublishing() { - $this->book->expects($this->once())->method('setPublishStatus')->with(true); + $this->book->expects($this->once())->method('setPublishStatus')->with(false); // setup request $request = new Request();