Ignore error reported by PHPStan in Navigation\NodeFactoryTest

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2023-07-05 22:44:42 -03:00
parent 2381e48e1c
commit ba9838651a
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -51,6 +51,7 @@ class NodeFactoryTest extends AbstractTestCase
public function testDatabaseNode(): void
{
$node = NodeFactory::getInstance(NodeDatabase::class, 'database_name');
/** @phpstan-ignore-next-line */
$this->assertInstanceOf(NodeDatabase::class, $node);
$this->assertEquals('database_name', $node->name);
$this->assertEquals(Node::OBJECT, $node->type);