summaryrefslogtreecommitdiffstats
path: root/tests/lib/Updater
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-13 22:03:44 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-13 22:03:44 +0100
commitb1a6f66fd9676e9d7c9ceed5a10d07806790ae02 (patch)
tree8fc4033b149bf128ef82d07d8d447c8c8aa092cc /tests/lib/Updater
parent869277b005027e8d1e13ae1a5e48923fa278da6f (diff)
downloadnextcloud-server-b1a6f66fd9676e9d7c9ceed5a10d07806790ae02.tar.gz
nextcloud-server-b1a6f66fd9676e9d7c9ceed5a10d07806790ae02.zip
when we receive intentional empty whats new info, do not try to show it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests/lib/Updater')
-rw-r--r--tests/lib/Updater/ChangesCheckTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/Updater/ChangesCheckTest.php b/tests/lib/Updater/ChangesCheckTest.php
index a979007573d..30cb9df2956 100644
--- a/tests/lib/Updater/ChangesCheckTest.php
+++ b/tests/lib/Updater/ChangesCheckTest.php
@@ -279,6 +279,10 @@ class ChangesCheckTest extends TestCase {
],
]
],
+ [ # 4 - empty
+ '',
+ []
+ ],
];
}