Skip to content

Commit c2895bb

Browse files
committed
Fix unittest
1 parent 6a37cf9 commit c2895bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/phpDocumentor/GraphViz/Test/GraphTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,9 @@ public function test__set() : void
316316
{
317317
$mock = m::mock(Node::class);
318318

319-
$this->assertSame(
320-
$this->fixture,
321-
$this->fixture->__set('myNode', $mock)
322-
);
319+
$this->fixture->__set('myNode', $mock);
320+
321+
self::assertSame($mock, $this->fixture->myNode);
323322
}
324323

325324
/**

0 commit comments

Comments
 (0)