Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-15 00:05:29 +0300
committerdartcafe <github@dartcafe.de>2021-05-15 00:05:29 +0300
commite331fe847ccfa2c84c020f026d026d789bf1deef (patch)
tree09531c12146274b1d104b44971555ebe241129f7 /tests
parent600324422b5555d49264416d64fc30ca066cda8c (diff)
fix test
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Db/VoteMapperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Db/VoteMapperTest.php b/tests/Unit/Db/VoteMapperTest.php
index 7dedb2ea..b1f6da83 100644
--- a/tests/Unit/Db/VoteMapperTest.php
+++ b/tests/Unit/Db/VoteMapperTest.php
@@ -146,9 +146,9 @@ class VoteMapperTest extends UnitTestCase {
/**
* testDeleteByPollAndUser
*/
- public function testDeleteByPollAndUser() {
+ public function testDeleteByPollAndUserId() {
foreach ($this->polls as $poll) {
- $this->assertNull($this->voteMapper->deleteByPollAndUser($poll->getId(), 'voter'));
+ $this->assertNull($this->voteMapper->deleteByPollAndUserId($poll->getId(), 'voter'));
}
}