owncloud / data_exporter

Export/Import for ownCloud user data
GNU General Public License v2.0
7 stars 5 forks source link

[Tests-Only] Fix unit tests related to core issue 37358 and core PR 37103 #159

Closed phil-davis closed 4 years ago

phil-davis commented 4 years ago

Part of issue https://github.com/owncloud/core/issues/37358

The signature of core lib/private/User/Manager.php get() changed to have a new 2nd parameter. See core PR https://github.com/owncloud/core/pull/37103

Adjust unit tests so that the mocking of userManager matches the way that phpunit sees the calls. Even though the new parameter is optional (has a default value), phpunit sees the call happening with the parameter having been set to its default value false

codecov[bot] commented 4 years ago

Codecov Report

Merging #159 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #159   +/-   ##
=========================================
  Coverage     85.67%   85.67%           
  Complexity      235      235           
=========================================
  Files            36       36           
  Lines          1117     1117           
=========================================
  Hits            957      957           
  Misses          160      160           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9000a76...2fe8a80. Read the comment docs.