@@ -128,21 +128,21 @@ public function testLoadUpperCase()
128128 public function testLoadWithFile ()
129129 {
130130 $ dom = new Dom ;
131- $ dom ->loadFromFile ('tests/small.html ' );
131+ $ dom ->loadFromFile ('tests/files/ small.html ' );
132132 $ this ->assertEquals ('VonBurgermeister ' , $ dom ->find ('.post-user font ' , 0 )->text );
133133 }
134134
135135 public function testLoadFromFile ()
136136 {
137137 $ dom = new Dom ;
138- $ dom ->loadFromFile ('tests/small.html ' );
138+ $ dom ->loadFromFile ('tests/files/ small.html ' );
139139 $ this ->assertEquals ('VonBurgermeister ' , $ dom ->find ('.post-user font ' , 0 )->text );
140140 }
141141
142142 public function testLoadFromFileFind ()
143143 {
144144 $ dom = new Dom ;
145- $ dom ->loadFromFile ('tests/small.html ' );
145+ $ dom ->loadFromFile ('tests/files/ small.html ' );
146146 $ this ->assertEquals ('VonBurgermeister ' , $ dom ->find ('.post-row div .post-user font ' , 0 )->text );
147147 }
148148
@@ -156,14 +156,14 @@ public function testLoadUtf8()
156156 public function testLoadFileBig ()
157157 {
158158 $ dom = new Dom ;
159- $ dom ->loadFromFile ('tests/big.html ' );
159+ $ dom ->loadFromFile ('tests/files/ big.html ' );
160160 $ this ->assertEquals (10 , count ($ dom ->find ('.content-border ' )));
161161 }
162162
163163 public function testLoadFileBigTwice ()
164164 {
165165 $ dom = new Dom ;
166- $ dom ->loadFromFile ('tests/big.html ' );
166+ $ dom ->loadFromFile ('tests/files/ big.html ' );
167167 $ post = $ dom ->find ('.post-row ' , 0 );
168168 $ this ->assertEquals (' <p>Журчанье воды<br /> Черно-белые тени<br /> Вновь на фонтане</p> ' , $ post ->find ('.post-message ' , 0 )->innerHtml );
169169 }
0 commit comments