diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-11-15 15:59:55 +0100 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-12-06 10:19:42 +0100 |
commit | 0c7e2591517818862f6021c8e66a44f5b84d6a65 (patch) | |
tree | 2ffeb47a1b56be9387a9f9dd1b4f140fca51781b /tests | |
parent | 4af365de733a92f3fdf157e0ff1ad2d0aa4893f1 (diff) | |
download | nextcloud-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.php | 8 |
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()) |