You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/test:namespacedNode/newNode'), 'Node newNode was not created');
47
-
$this->sharedFixture['session']->save();
46
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/test:namespacedNode/newNode'), 'Node newNode was not created');
47
+
$this->session->save();
48
48
$this->assertFalse($new->isNew(), 'Node was not saved');
49
49
50
50
$this->renewSession();
51
51
52
-
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/test:namespacedNode/newNode'), 'Node newNode was not properly saved');
52
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/test:namespacedNode/newNode'), 'Node newNode was not properly saved');
53
53
}
54
54
55
55
publicfunctiontestAddNodeFileType()
@@ -59,30 +59,33 @@ public function testAddNodeFileType()
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/newUnstructuredNode'), 'Node newUnstructuredNode was not created');
80
-
$this->sharedFixture['session']->save();
82
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/newUnstructuredNode'), 'Node newUnstructuredNode was not created');
83
+
$this->session->save();
81
84
$this->assertFalse($new->isNew(), 'Node was not saved');
82
85
83
86
$this->renewSession();
84
87
85
-
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/newUnstructuredNode'), 'Node newUnstructuredNode was not created');
88
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/newUnstructuredNode'), 'Node newUnstructuredNode was not created');
86
89
87
90
}
88
91
@@ -105,12 +108,12 @@ public function testAddNodeAutoNamedEmptyNamehint()
105
108
$name = $newnode->getName();
106
109
$this->assertEquals(0, substr_count(':', $name));
107
110
108
-
$this->sharedFixture['session']->save();
111
+
$this->session->save();
109
112
$this->assertFalse($new->isNew(), 'Node was not saved');
110
113
111
114
$this->renewSession();
112
115
113
-
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/jcr:content/' . $name), 'Node newNode was not properly saved');
116
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/jcr:content/' . $name), 'Node newNode was not properly saved');
114
117
}
115
118
116
119
publicfunctiontestAddNodeAutoNamedNullNamehint()
@@ -123,12 +126,12 @@ public function testAddNodeAutoNamedNullNamehint()
123
126
$newnode = current($nodes);
124
127
$name = $newnode->getName();
125
128
126
-
$this->sharedFixture['session']->save();
129
+
$this->session->save();
127
130
$this->assertFalse($new->isNew(), 'Node was not saved');
128
131
129
132
$this->renewSession();
130
133
131
-
$this->assertNotNull($this->sharedFixture['session']->getNode($this->node->getPath() . '/jcr:content/' . $name), 'Node newNode was not properly saved');
134
+
$this->assertNotNull($this->session->getNode($this->node->getPath() . '/jcr:content/' . $name), 'Node newNode was not properly saved');
$this->assertTrue($this->sharedFixture['session']->nodeExists('/tests_write_manipulation_add/testAddNodeChild/parent/child'), 'Child node not found [Session]');
327
+
$this->assertTrue($this->session->nodeExists('/tests_write_manipulation_add/testAddNodeChild/parent/child'), 'Child node not found [Session]');
325
328
326
-
$this->sharedFixture['session']->save();
329
+
$this->session->save();
327
330
$this->assertFalse($newChild->isNew(), 'Node was not saved');
328
331
329
332
// dispatch to backend
@@ -345,7 +348,7 @@ public function testAddNodeChildProperties()
0 commit comments