remove unused variables
This commit is contained in:
parent
143a4ffe39
commit
1c28f46872
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ class CreateNodeTest extends TestCase
|
||||||
{
|
{
|
||||||
$this->expectException(DomainException::class);
|
$this->expectException(DomainException::class);
|
||||||
$this->expectExceptionMessage("Text with id: 1 doesnt exist");
|
$this->expectExceptionMessage("Text with id: 1 doesnt exist");
|
||||||
$node = $this->useCase->execute(new CreateNodeRequest(
|
$this->useCase->execute(new CreateNodeRequest(
|
||||||
textId: 1,
|
textId: 1,
|
||||||
title: 'test',
|
title: 'test',
|
||||||
parentNodeId: null,
|
parentNodeId: null,
|
||||||
|
|
@ -89,7 +89,7 @@ class CreateNodeTest extends TestCase
|
||||||
{
|
{
|
||||||
$this->expectException(DomainException::class);
|
$this->expectException(DomainException::class);
|
||||||
$this->expectExceptionMessage("Node with id: 0 doesnt exist");
|
$this->expectExceptionMessage("Node with id: 0 doesnt exist");
|
||||||
$node = $this->useCase->execute(new CreateNodeRequest(
|
$this->useCase->execute(new CreateNodeRequest(
|
||||||
textId: 0,
|
textId: 0,
|
||||||
title: 'test',
|
title: 'test',
|
||||||
parentNodeId: 0,
|
parentNodeId: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue