Index: trunk/extensions/PagedTiffHandler/selenium/PagedTiffHandler_tests.php |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | |
201 | 201 | //Ergebnis chekcen |
202 | 202 | $source = $this->getAttribute("//div[@class='gallerybox']//a[@class='image']//img@src"); |
203 | | - $correct = strstr($source, "/page1-"); |
| 203 | + $correct = strstr($source, "-page1-"); |
204 | 204 | $this->assertEquals($correct, true); |
205 | 205 | |
206 | 206 | } |
— | — | @@ -219,7 +219,7 @@ |
220 | 220 | //Ergebnis chekcen |
221 | 221 | //$source = $this->getAttribute("//div[@class='gallerybox']//a[@title='Multipage.tiff']//img@src"); |
222 | 222 | $source = $this->getAttribute("//div[@class='gallerybox']//a[@class='image']//img@src"); |
223 | | - $correct = strstr($source, "/page1-"); |
| 223 | + $correct = strstr($source, "-page1-"); |
224 | 224 | $this->assertEquals($correct, true); |
225 | 225 | |
226 | 226 | } |
— | — | @@ -315,7 +315,7 @@ |
316 | 316 | $this->preparePage("[[Image:Multipage.tiff|page=-1]]\n"); |
317 | 317 | |
318 | 318 | $source = $this->getAttribute("//div[@id='bodyContent']//img@src"); |
319 | | - $correct = strstr($source, "/page1-"); |
| 319 | + $correct = strstr($source, "-page1-"); |
320 | 320 | $this->assertEquals($correct, true); |
321 | 321 | } |
322 | 322 | } |
— | — | @@ -329,7 +329,7 @@ |
330 | 330 | $this->preparePage("[[Image:Multipage.tiff|page=8]]\n"); |
331 | 331 | |
332 | 332 | $source = $this->getAttribute("//div[@id='bodyContent']//img@src"); |
333 | | - $correct = strstr($source, "/page7-"); |
| 333 | + $correct = strstr($source, "-page7-"); |
334 | 334 | $this->assertEquals($correct, true); |
335 | 335 | } |
336 | 336 | } |