Lines Matching refs:assertSame
58 $this->assertSame(1, $plan->nextStep(),'pages');
59 $this->assertSame(1, $plan->nextStep(),'media');
60 $this->assertSame(1, $plan->nextStep(),'missing');
61 $this->assertSame(1, $plan->nextStep(),'namespace');
62 $this->assertSame(1, $plan->nextStep(),'autorewrite');
63 $this->assertSame(0, $plan->nextStep(),'done');
89 $this->assertSame(1, $plan->nextStep(),'page');
90 $this->assertSame(1, $plan->nextStep(),'missing');
91 $this->assertSame(1, $plan->nextStep(),'namespace');
92 $this->assertSame(1, $plan->nextStep(),'autorewrite');
93 $this->assertSame(0, $plan->nextStep(),'done');
118 $this->assertSame('newaffectedspace:page',trim($affected_file[0]));
195 $this->assertSame(10, $plan->nextStep(),"After processing first chunk of pages, 10 steps should be left");
209 $this->assertSame($expected_response,$actual_response); // todo: this assert fails occaisionally, but not reproduciably. It then has the following oputput: <a href="/./doku.php?id=testns:start" class="wikilink2" title="testns:start" rel="nofollow">testns</a> <a href="/./doku.php?id=testns:test_page17" class="wikilink1" title="testns:test_page17">test_page17</a>
214 $this->assertSame($expected_file_contents,$actual_file_contents);
220 $this->assertSame($expected_move_meta,$actual_move_media);
254 $this->assertSame(1, $plan->nextStep(), 'pages');
255 $this->assertSame(1, $plan->nextStep(), 'missing');
256 $this->assertSame(1, $plan->nextStep(), 'namespace');
257 $this->assertSame(1, $plan->nextStep(), 'autorewrite');
258 $this->assertSame(0, $plan->nextStep(), 'done');
265 $this->assertSame('[[newns:start]] [[newns:page]] [[newns:missing]] [[missing]] [[page]]',rawWiki('newns:start'));
266 $this->assertSame('[[newns:start]] [[newns:page]] [[newns:missing]] [[missing]] [[start]]',rawWiki('newns:page'));
267 $this->assertSame('[[newns:start]] [[newns:page]] [[newns:missing]]',rawWiki('start'));
297 $this->assertSame(1, $plan->nextStep(), 'media');
298 $this->assertSame(1, $plan->nextStep(), 'missing_media');
299 $this->assertSame(1, $plan->nextStep(), 'autorewrite');
300 $this->assertSame(0, $plan->nextStep(), 'done');
305 $this->assertSame('{{newns:oldnsimage.png}} {{newns:oldnsimage_missing.png}} {{image_missing.png}}',rawWiki('start'));
335 $this->assertSame(1, $plan->nextStep(), 'media');
336 $this->assertSame(1, $plan->nextStep(), 'missing_media');
337 $this->assertSame(1, $plan->nextStep(), 'autorewrite');
338 $this->assertSame(0, $plan->nextStep(), 'done');
343 $this->assertSame('{{newns:oldnsimage.png}} {{newns:oldnsimage_missing.png}} {{newns:oldnsimage_missing.png}} {{newns:oldnsimage.png}}',rawWiki('oldns:start'));
378 $this->assertSame(1, $plan->nextStep(), 'pages');
379 $this->assertSame(1, $plan->nextStep(), 'media');
380 $this->assertSame(1, $plan->nextStep(), 'missing');
381 $this->assertSame(1, $plan->nextStep(), 'missing_media');
382 $this->assertSame(1, $plan->nextStep(), 'namespaces');
383 $this->assertSame(1, $plan->nextStep(), 'autorewrite');
384 $this->assertSame(0, $plan->nextStep(), 'done');
389 $this->assertSame("[[newns:start]] [[newns:page]] [[newns:missing]]\n{{newns:oldnsimage.png}} {{newns:oldnsimage_missing.png}} {{oldnsimage_missing.png}}",rawWiki('start'));
422 $this->assertSame(1, $plan->nextStep(), 'pages');
423 $this->assertSame(1, $plan->nextStep(), 'namespace');
424 $this->assertSame(0, $plan->nextStep(), 'done');
431 $this->assertSame($subscription,file_get_contents($newfilepath));
465 $this->assertSame(1, $plan->nextStep(), 'pages');
466 $this->assertSame(1, $plan->nextStep(), 'namespace');
467 $this->assertSame(0, $plan->nextStep(), 'done');
474 $this->assertSame($subscription,file_get_contents($newfilepath));