Родитель
b4f7705bcc
Коммит
2c0f911942
|
@ -54,7 +54,7 @@
|
||||||
$hideNames = $poll->getIsAnonymous() && $poll->getFullAnonymous();
|
$hideNames = $poll->getIsAnonymous() && $poll->getFullAnonymous();
|
||||||
$access = $poll->getAccess();
|
$access = $poll->getAccess();
|
||||||
$updatedPoll = false;
|
$updatedPoll = false;
|
||||||
$dataUnvoted = ''
|
$dataUnvoted = '';
|
||||||
|
|
||||||
if ($poll->getExpire() === null) {
|
if ($poll->getExpire() === null) {
|
||||||
$expired = false;
|
$expired = false;
|
||||||
|
|
|
@ -25,8 +25,6 @@ namespace OCA\Polls\Tests\Unit\Db;
|
||||||
|
|
||||||
use OCA\Polls\Db\Event;
|
use OCA\Polls\Db\Event;
|
||||||
use OCA\Polls\Db\EventMapper;
|
use OCA\Polls\Db\EventMapper;
|
||||||
use OCA\Polls\Db\Options;
|
|
||||||
use OCA\Polls\Db\OptionsMapper;
|
|
||||||
use OCA\Polls\Db\Votes;
|
use OCA\Polls\Db\Votes;
|
||||||
use OCA\Polls\Db\VotesMapper;
|
use OCA\Polls\Db\VotesMapper;
|
||||||
use OCA\Polls\Tests\Unit\UnitTestCase;
|
use OCA\Polls\Tests\Unit\UnitTestCase;
|
||||||
|
@ -37,8 +35,6 @@ class VotesMapperTest extends UnitTestCase {
|
||||||
|
|
||||||
/** @var IDBConnection */
|
/** @var IDBConnection */
|
||||||
private $con;
|
private $con;
|
||||||
/** @var OptionsMapper */
|
|
||||||
private $optionsMapper;
|
|
||||||
/** @var VotesMapper */
|
/** @var VotesMapper */
|
||||||
private $votesMapper;
|
private $votesMapper;
|
||||||
/** @var EventMapper */
|
/** @var EventMapper */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче