Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(FM/EFile) fix test failure if EFile is present
Browse files Browse the repository at this point in the history
Change-Id: Ib4c78c797ad7fda935768276fc6c9a27d0990f0b
  • Loading branch information
paulmhh committed Nov 25, 2020
1 parent f60a260 commit 857d2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tine20/Filemanager/Frontend/JsonTests.php
Expand Up @@ -165,7 +165,7 @@ public function testSearchRoot()
protected function _assertRootNodes($searchResult)
{
foreach ($searchResult['results'] as &$result) {
if (isset($result['efile_file_metadata'])) {
if (array_key_exists('efile_file_metadata', $result)) {
unset($result['efile_file_metadata']);
}
}
Expand Down

0 comments on commit 857d2b5

Please sign in to comment.