test(files_sharing): split testCanAccessShare into separate tests and fix for PHPUnit 10
#53255
+81
−36