]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adjust chunking test for non-existing target node
authorJulius Härtl <jus@bitgrid.net>
Wed, 12 Aug 2020 06:18:35 +0000 (08:18 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 13 Aug 2020 18:55:11 +0000 (18:55 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/dav/tests/unit/Upload/ChunkingPluginTest.php

index d0eeed786781e35191af0b874df6f37b1863d8f4..bdce22c1591a100611c8cd623d101bcd07c5c6d9 100644 (file)
@@ -108,7 +108,7 @@ class ChunkingPluginTest extends TestCase {
                        ->with('OC-Total-Length')
                        ->willReturn(4);
 
-               $this->assertNull($this->plugin->beforeMove('source', 'target'));
+               $this->assertFalse($this->plugin->beforeMove('source', 'target'));
        }
 
        public function testBeforeMoveFutureFileMoveIt() {