aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-11-15 15:59:55 +0100
committerskjnldsv <skjnldsv@protonmail.com>2024-12-06 10:19:42 +0100
commit0c7e2591517818862f6021c8e66a44f5b84d6a65 (patch)
tree2ffeb47a1b56be9387a9f9dd1b4f140fca51781b /tests
parent4af365de733a92f3fdf157e0ff1ad2d0aa4893f1 (diff)
downloadnextcloud-server-0c7e2591517818862f6021c8e66a44f5b84d6a65.tar.gz
nextcloud-server-0c7e2591517818862f6021c8e66a44f5b84d6a65.zip
feat(systemtags): allow setting color with occ
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Command/SystemTag/EditTest.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/Core/Command/SystemTag/EditTest.php b/tests/Core/Command/SystemTag/EditTest.php
index f2695591905..0d2f6ba4fbc 100644
--- a/tests/Core/Command/SystemTag/EditTest.php
+++ b/tests/Core/Command/SystemTag/EditTest.php
@@ -81,13 +81,14 @@ class EditTest extends TestCase {
$tagId,
$newTagName,
$newTagUserVisible,
- $newTagUserAssignable
+ $newTagUserAssignable,
+ ''
);
$this->output->expects($this->once())
->method('writeln')
->with(
- '<info>Tag updated ("' . $newTagName . '", ' . $newTagUserVisible . ', ' . $newTagUserAssignable . ')</info>'
+ '<info>Tag updated ("' . $newTagName . '", ' . json_encode($newTagUserVisible) . ', ' . json_encode($newTagUserAssignable) . ', "")</info>'
);
$this->invokePrivate($this->command, 'execute', [$this->input, $this->output]);
@@ -145,7 +146,8 @@ class EditTest extends TestCase {
$tagId,
$newTagName,
$newTagUserVisible,
- $newTagUserAssignable
+ $newTagUserAssignable,
+ ''
);
$this->output->expects($this->once())