mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-16 07:48:40 +00:00
Automated formatting changes
This commit is contained in:
parent
041d91e423
commit
5619596624
|
|
@ -30,10 +30,10 @@ final class QAAnswerVoteMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
*/
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$vote = new QAAnswerVote();
|
$vote = new QAAnswerVote();
|
||||||
$vote->answer = 1;
|
$vote->answer = 1;
|
||||||
$vote->score = 1;
|
$vote->score = 1;
|
||||||
$vote->createdBy = new NullAccount(1);
|
$vote->createdBy = new NullAccount(1);
|
||||||
$vote->createdFor = 2;
|
$vote->createdFor = 2;
|
||||||
|
|
||||||
$id = QAAnswerVoteMapper::create()->execute($vote);
|
$id = QAAnswerVoteMapper::create()->execute($vote);
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,10 @@ final class QAQuestionVoteMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
*/
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$vote = new QAQuestionVote();
|
$vote = new QAQuestionVote();
|
||||||
$vote->question = 1;
|
$vote->question = 1;
|
||||||
$vote->score = 1;
|
$vote->score = 1;
|
||||||
$vote->createdBy = new NullAccount(1);
|
$vote->createdBy = new NullAccount(1);
|
||||||
$vote->createdFor = 2;
|
$vote->createdFor = 2;
|
||||||
|
|
||||||
$id = QAQuestionVoteMapper::create()->execute($vote);
|
$id = QAQuestionVoteMapper::create()->execute($vote);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user