Skip to content

Integration tests allowing md5 home#26865

Merged
PVince81 merged 4 commits into
masterfrom
integration-tests-allowing-md5-home
Dec 23, 2016
Merged

Integration tests allowing md5 home#26865
PVince81 merged 4 commits into
masterfrom
integration-tests-allowing-md5-home

Conversation

@SergioBertolinSG

Copy link
Copy Markdown
Contributor

Requirement for #26846 (comment)

@mention-bot

Copy link
Copy Markdown

@SergioBertolinSG, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PVince81, @DeepDiver1975 and @davitol to be potential reviewers.

$this->userUploadsAFileTo($user, "work/$filename", $destination);
$this->removeFile("work/", $filename);
$userHome = $this->getUserHome($user);
PHPUnit_Framework_Assert::assertEquals(1, file_exists($userHome . "/files$destination"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still prefer that you use a PROPFIND to make that assert to avoid having to depend on getUserHome.

$this->userHasAQuotaOf($user, 'none');
}

public function getUserHome($user) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed for this PR any more, but let's keep it. It will be useful at some point.
Please add PHP doc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean make it available for behat?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, just add a PHPDoc block. This is a public function and might be used elsewhere, so it's a good idea to have a PHPDoc block.

@PVince81

Copy link
Copy Markdown
Contributor

Add the missing PHPDoc then it's good to go, thanks! 👍

@lock

lock Bot commented Aug 4, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants