Skip to content

Commit 4e0217e

Browse files
committed
chore(tests): Fix bogus parameter passed by tests to createTag
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 3aa2e13 commit 4e0217e

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

tests/lib/SystemTag/SystemTagManagerTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -296,22 +296,22 @@ public static function updateTagProvider(): array {
296296
return [
297297
[
298298
// update name
299-
['one', true, true, '0082c9'],
299+
['one', true, true],
300300
['two', true, true, '0082c9']
301301
],
302302
[
303303
// update one flag
304-
['one', false, true, null],
304+
['one', false, true],
305305
['one', true, true, '0082c9']
306306
],
307307
[
308308
// update all flags
309-
['one', false, false, '0082c9'],
309+
['one', false, false],
310310
['one', true, true, null]
311311
],
312312
[
313313
// update all
314-
['one', false, false, '0082c9'],
314+
['one', false, false],
315315
['two', true, true, '0082c9']
316316
],
317317
];
@@ -323,7 +323,6 @@ public function testUpdateTag($tagCreate, $tagUpdated): void {
323323
$tagCreate[0],
324324
$tagCreate[1],
325325
$tagCreate[2],
326-
$tagCreate[3],
327326
);
328327
$this->tagManager->updateTag(
329328
$tag1->getId(),
@@ -336,7 +335,6 @@ public function testUpdateTag($tagCreate, $tagUpdated): void {
336335
$tagUpdated[0],
337336
$tagUpdated[1],
338337
$tagUpdated[2],
339-
$tagUpdated[3],
340338
);
341339

342340
$this->assertEquals($tag2->getId(), $tag1->getId());

0 commit comments

Comments
 (0)