Skip to content

Conversation

@rosalieper
Copy link
Contributor

@rosalieper rosalieper commented Nov 27, 2025

Follow up refactoring for #1009. I believe it is important for tests to reflect exactly how we expect things to work. As we updated the value of readOnly on the task description, I thought it would be good to update the test too.

Bug: T410395

$this->putJson($this->route, [
'domain' => $wiki->domain,
'readOnly' => false,
'readOnly' => 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why this worked before? Simply because it was false not "false"?

@rosalieper rosalieper merged commit 416c212 into main Nov 27, 2025
6 checks passed
@rosalieper rosalieper deleted the update-test branch November 27, 2025 10:11
deer-wmde pushed a commit that referenced this pull request Dec 15, 2025
Follow up refactoring for #1009. I
believe it is important for tests to reflect exactly how we expect
things to work. As we updated the value of `readOnly` on the task
description, I thought it would be good to update the test too.

Bug: T410395
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants