summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Tirk <paultirk@paultirk.com>2022-04-13 15:14:48 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2022-04-30 20:04:30 +0200
commitda5e749ecce2a90bc6df8aa52e9e1d7e76ac9efe (patch)
tree3ecdbf291872bb211355c4a3308b04c102644aed /tests
parent3bdafbfcea72ea099836346859f65d5068447eb1 (diff)
rename parameter for read/unread api call
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Controller/ItemApiControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Controller/ItemApiControllerTest.php b/tests/Unit/Controller/ItemApiControllerTest.php
index 400c4fc32..5359e8972 100644
--- a/tests/Unit/Controller/ItemApiControllerTest.php
+++ b/tests/Unit/Controller/ItemApiControllerTest.php
@@ -398,7 +398,7 @@ class ItemApiControllerTest extends TestCase
[$this->user->getUID(), 2, true],
[$this->user->getUID(), 4, true]
);
- $this->class->readMultiple([2, 4]);
+ $this->class->readMultipleByIds([2, 4]);
}
@@ -411,7 +411,7 @@ class ItemApiControllerTest extends TestCase
[$this->user->getUID(), 4, true]
)
->willReturnOnConsecutiveCalls($this->throwException(new ServiceNotFoundException('')), new Item());
- $this->class->readMultiple([2, 4]);
+ $this->class->readMultipleByIds([2, 4]);
}
@@ -423,7 +423,7 @@ class ItemApiControllerTest extends TestCase
[$this->user->getUID(), 2, false],
[$this->user->getUID(), 4, false]
);
- $this->class->unreadMultiple([2, 4]);
+ $this->class->unreadMultipleByIds([2, 4]);
}