Remove faulty else statement from TestFolderman that would erroneously cause failure
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 23 Jan 2023 20:38:46 +0000 (21:38 +0100)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 24 Jan 2023 16:00:16 +0000 (17:00 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
test/testfolderman.cpp

index 3334f3f0b9d8f122b29d6ac0047bd1ce02e46263..75101045cd0e3b24ff18afef1ae6f34be98b2b2a 100644 (file)
@@ -82,8 +82,6 @@ private slots:
                 } else {
                     reply = new FakeErrorReply(op, req, this, 400, fake400Response);
                 }
-            } else {
-                reply = new FakeErrorReply(op, req, this, 400, fake400Response);
             }
 
             return reply;