We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd9682c + cae7792 commit 6776d95Copy full SHA for 6776d95
tests/10_Writing/MoveMethodsTest.php
@@ -20,6 +20,17 @@ protected function setUp()
20
parent::setUp();
21
}
22
23
+ public function testNodeRenameRoot()
24
+ {
25
+ $root = $this->session->getRootNode();
26
+ $newNode = $root->addNode('foobar');
27
+ $newNode->rename('barfoo');
28
+ $this->session->save();
29
+ $this->renewSession();
30
+ $node = $this->session->getNode('/barfoo');
31
+ $this->assertNotNull($node);
32
+ }
33
+
34
public function testNodeRename()
35
{
36
$first = $this->node->getNode('firstNode');
0 commit comments