Remove unused variable $result from MoveTest

Created on 5 January 2023, over 1 year ago
Updated 1 February 2023, over 1 year ago

Problem/Motivation

Remove unused variable $result from MoveTest. There are couple of instances

    try {
      $result = $this->fileRepository->move(clone $source, $source->getFileUri(), FileSystemInterface::EXISTS_ERROR);
      $this->fail('expected FileExistsException');
    }
    try {
      $result = $this->fileRepository->move(clone $source, $target->getFileUri(), FileSystemInterface::EXISTS_ERROR);
      $this->fail('expected FileExistsException');
    }

Steps to reproduce

Proposed resolution

Remaining tasks

Investigate the history of the variable. Why was it added and what happened that made it unused.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.1 ✨

Component
File system  →

Last updated about 17 hours ago

Created by

🇮🇳India anmolgoyal74

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024