Skip to content

Commit 3733070

Browse files
committed
Update tests
1 parent 4f4cf42 commit 3733070

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/Unit/Controller/App/Review/Comment/AddCommentControllerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use DR\Review\Controller\App\Review\Comment\GetCommentThreadController;
99
use DR\Review\Entity\Review\CodeReview;
1010
use DR\Review\Entity\Review\Comment;
11-
use DR\Review\Entity\Review\LineReference;
1211
use DR\Review\Entity\User\User;
1312
use DR\Review\Form\Review\AddCommentFormType;
1413
use DR\Review\Repository\Review\CommentRepository;
@@ -51,8 +50,6 @@ public function testInvokeFormSubmitted(): void
5150
$request = new Request();
5251
$review = new CodeReview();
5352
$review->setId(123);
54-
$data = ['lineReference' => 'filepath:1:2:3', 'message' => 'my-comment'];
55-
5653
$user = new User();
5754
$this->expectGetUser($user);
5855

tests/Unit/Controller/App/Review/Comment/AddCommentReplyControllerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public function testInvokeFormSubmitted(): void
6868
$request = new Request();
6969
$review = (new CodeReview())->setId(123);
7070
$comment = (new Comment())->setId(456)->setFilePath('file')->setReview($review);
71-
$data = ['message' => 'my-comment'];
7271
$user = (new User())->setId(789);
7372
$this->expectGetUser($user);
7473

0 commit comments

Comments
 (0)