thephpleague / flysystem

Abstraction for local and remote filesystems

Home Page:https://flysystem.thephpleague.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add visibility tests for copy and move

tinect opened this issue · comments

Feature Request

Scenario / Use-case

We need to make sure that the copied or moved file gives the same visibility as in the $config parameter, failing that of the source file.

Summary

add generic test cases:

  • copy_without_given_config_will_result_in_same_visibility_as_source
  • copy_will_result_in_same_visibility_as_given_config
  • move_without_given_config_will_result_in_same_visibility_as_source
  • move_will_result_in_same_visibility_as_given_config