Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Nov 9, 2021
1 parent 9b27e9e commit 4c91cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Collection/NodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ class NodeTest extends TestCase
{
public function testNode(): void
{
$node = new Node('node1', 4);
$node = new Node('node1', 4, ['a' => 'b']);

$this->assertSame('node1', $node->getName());
$this->assertSame(4, $node->getWeight());
$this->assertSame('b', $node->getInfo()['a']);
}
}

0 comments on commit 4c91cd2

Please sign in to comment.