File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -545,8 +545,8 @@ public function testVerifyCoreSignatureWithValidModifiedHtaccessSignatureData():
545545 */
546546 public function testVerifyCoreSignatureWithModifiedMimetypelistSignatureData (): void {
547547 $ this ->addTypicalStubs ();
548- $ shippedMimetypeAliases = (array )json_decode (file_get_contents (\OC ::$ SERVERROOT . '/resources/config/mimetypealiases.dist.json ' ));
549- $ shippedMimetypeNames = (array )json_decode (file_get_contents (\OC ::$ SERVERROOT . '/resources/config/mimetypenames.dist.json ' ));
548+ $ shippedMimetypeAliases = (array )json_decode (file_get_contents (\OC ::$ SERVERROOT . '/resources/config/mimetypealiases.dist.json ' ), true );
549+ $ shippedMimetypeNames = (array )json_decode (file_get_contents (\OC ::$ SERVERROOT . '/resources/config/mimetypenames.dist.json ' ), true );
550550 $ allAliases = array_merge ($ shippedMimetypeAliases , ['my-custom/mimetype ' => 'custom ' ]);
551551 $ allMimetypeNames = array_merge ($ shippedMimetypeNames , ['my-custom/mimetype ' => 'Custom Document ' ]);
552552
You can’t perform that action at this time.
0 commit comments