]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix unpublishing test
authorThomas Citharel <tcit@tcit.fr>
Wed, 20 Jul 2016 14:08:21 +0000 (16:08 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 26 Sep 2016 09:55:38 +0000 (11:55 +0200)
apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php

index 43345a34889e7ee2b58b84fce64533be6adc24ee..b3ff36fc4ed92f0b75082721f1d5a5136a39d2f1 100644 (file)
@@ -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();